diff options
author | Jim Meyering <jim@meyering.net> | 2001-12-04 17:55:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-12-04 17:55:08 +0000 |
commit | a95d10ec543e344d403461c406dca151da721dce (patch) | |
tree | e0260411daf320fa04d576aba018ff075d016df9 /tests/ls/no-arg | |
parent | 8f730b8a46d6e29c053da6205ba9db0253be01db (diff) | |
download | coreutils-a95d10ec543e344d403461c406dca151da721dce.tar.xz |
Don't use diff's -u option. It's not portable.
Besides, with GNU diff one can use the DIFF_OPTIONS envvar.
Diffstat (limited to 'tests/ls/no-arg')
-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 c25ea2537..9f68eefd9 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 -u out exp 2> /dev/null +test $fail = 1 && diff 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 -u out exp 2> /dev/null +test $fail = 1 && diff out exp 2> /dev/null (exit $fail); exit |