diff options
author | Jim Meyering <jim@meyering.net> | 2001-12-02 20:09:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-12-02 20:09:27 +0000 |
commit | 93da1d6e5bd28868638402470a4dac19ba739317 (patch) | |
tree | 136306d1460d1ab98fa3f38b4504e1176d25d49a /tests | |
parent | 3e947ade15b48fe7f7f3229548f6c726135b0c83 (diff) | |
download | coreutils-93da1d6e5bd28868638402470a4dac19ba739317.tar.xz |
use diff -u
Diffstat (limited to 'tests')
-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 |