mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
dtrace tests: Diff expected and actual output upon a miscompare
This makes quick diagnosis of test failures easier.
MFC after: 1 week
(cherry picked from commit a61d2c7fbd)
This commit is contained in:
parent
59044cc210
commit
bde22cf630
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