mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
dtrace tests: Diff expected and actual output upon a miscompare
This makes quick diagnosis of test failures easier. MFC after: 1 week
This commit is contained in:
parent
ba10366037
commit
a61d2c7fbd
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ test stdout:
|
|||
--
|
||||
$(cat $STDOUT)
|
||||
--
|
||||
test stdout diff:
|
||||
--
|
||||
$(diff -u $EXOUT $STDOUT)
|
||||
--
|
||||
__EOF__
|
||||
fi
|
||||
if [ $(stat -f '%z' $STDERR) -gt 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue