From 9d98634b3908786bb048b72624da244e681f87b9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 22 Nov 2011 10:18:30 +0100 Subject: 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. --- tests/rm/rm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rm/rm1') diff --git a/tests/rm/rm1 b/tests/rm/rm1 index ce0d87150..f4f43d042 100755 --- a/tests/rm/rm1 +++ b/tests/rm/rm1 @@ -39,7 +39,7 @@ EOF cmp out exp > /dev/null 2>&1 || { cmp out exp2 || fail=1 } -test $fail = 1 && diff out exp 2> /dev/null +test $fail = 1 && compare out exp test -d b/a/p || fail=1 test -d b/c && fail=1 -- cgit v1.2.3-70-g09d2