diff options
author | Jim Meyering <meyering@redhat.com> | 2011-11-22 10:18:30 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-11-22 10:34:43 +0100 |
commit | 9d98634b3908786bb048b72624da244e681f87b9 (patch) | |
tree | ea46e0b4f6d08e67fce4e85e848ad8d338ea9cdb /tests/rm/rm2 | |
parent | ad10c145ff5ae776598671ed840a446dc120b871 (diff) | |
download | coreutils-9d98634b3908786bb048b72624da244e681f87b9.tar.xz |
tests: use compare, not "diff", in a few stray tests
* tests/install/basic-1: Use compare, not diff.
* tests/mkdir/p-v: Likewise.
* tests/mv/part-fail: Likewise.
* tests/rm/rm1: Likewise.
* tests/rm/rm2: Likewise.
* tests/touch/not-owner: Likewise.
Diffstat (limited to 'tests/rm/rm2')
-rwxr-xr-x | tests/rm/rm2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/rm2 b/tests/rm/rm2 index 0cd089291..6df1e2090 100755 --- a/tests/rm/rm2 +++ b/tests/rm/rm2 @@ -42,7 +42,7 @@ EOF cmp out exp > /dev/null 2>&1 \ || { cmp out exp-solaris > /dev/null 2>&1 || fail=1; } -test $fail = 1 && diff out exp 2> /dev/null +test $fail = 1 && compare out exp test -d a/0 && fail=1 test -d a/1 || fail=1 |