diff options
author | Jim Meyering <meyering@redhat.com> | 2009-10-30 10:49:22 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-10-30 10:49:22 +0100 |
commit | 12a0a583f6fe3303bd9dfb30de4a5fe46e8e486f (patch) | |
tree | 407e9af16f016d6eddbb1ba0b88d2223d0bc5113 /tests/misc | |
parent | 39da66f979c206946e5593dbd432e88905a9e383 (diff) | |
download | coreutils-12a0a583f6fe3303bd9dfb30de4a5fe46e8e486f.tar.xz |
tests: remove the less-regular fail=0 assignments manually
* tests/tail-2/assert-2:
* tests/tail-2/assert:
* tests/cp/file-perm-race:
* tests/misc/df:
* tests/misc/truncate-dir-fail:
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/df | 6 | ||||
-rwxr-xr-x | tests/misc/truncate-dir-fail | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/misc/df b/tests/misc/df index 790309cce..4ebd29b56 100755 --- a/tests/misc/df +++ b/tests/misc/df @@ -25,10 +25,8 @@ fi case `df .` in *' -'*) - fail=0;; -*) - fail=1;; +'*) ;; +*) fail=1;; esac Exit $fail diff --git a/tests/misc/truncate-dir-fail b/tests/misc/truncate-dir-fail index 942c6b4cc..d1a67e4ba 100755 --- a/tests/misc/truncate-dir-fail +++ b/tests/misc/truncate-dir-fail @@ -9,6 +9,6 @@ fi . $srcdir/test-lib.sh # truncate on dir not allowed -truncate -s+0 . && fail=1 || fail=0 +truncate -s+0 . && fail=1 Exit $fail |