diff options
-rwxr-xr-x | tests/ls/no-arg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ls/no-arg b/tests/ls/no-arg index 9f68eefd9..c25ea2537 100755 --- a/tests/ls/no-arg +++ b/tests/ls/no-arg @@ -35,7 +35,7 @@ fail=0 ls > out || fail=1 cmp out exp || fail=1 -test $fail = 1 && diff out exp 2> /dev/null +test $fail = 1 && diff -u out exp 2> /dev/null cat > exp <<\EOF .: @@ -54,6 +54,6 @@ EOF ls -R > out || fail=1 cmp out exp || fail=1 -test $fail = 1 && diff out exp 2> /dev/null +test $fail = 1 && diff -u out exp 2> /dev/null (exit $fail); exit |