diff options
author | ngie <ngie@FreeBSD.org> | 2016-07-11 17:30:20 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-07-11 17:30:20 +0000 |
commit | ce0b97bf548c61902402240fa0316780ffe3b020 (patch) | |
tree | 61319169311057ca5b8ce8096ff8ddee820c2e65 /usr.bin | |
parent | 0ddba37c51521e5d2e7ada2ebd4619a703477036 (diff) | |
download | FreeBSD-src-ce0b97bf548c61902402240fa0316780ffe3b020.zip FreeBSD-src-ce0b97bf548c61902402240fa0316780ffe3b020.tar.gz |
MFC r302326:
Output the diffs to standard error when comparing the expected vs the
obtained output from lastcomm instead of just printing out a summary, e.g.
"they differed".
This will make failures with results more apparent when running kyua debug,
kyua report-html, etc.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/lastcomm/tests/legacy_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/lastcomm/tests/legacy_test.sh b/usr.bin/lastcomm/tests/legacy_test.sh index 35ef78b..c7da326 100644 --- a/usr.bin/lastcomm/tests/legacy_test.sh +++ b/usr.bin/lastcomm/tests/legacy_test.sh @@ -14,7 +14,7 @@ check() shift # Remove tty field, which varies between systems. awk '{$4 = ""; print}' | - if diff -q - $1 + if diff -a - $1 >&2 then echo "ok $NUM" else |