diff options
Diffstat (limited to 'tests/misc/truncate-relative.sh')
-rwxr-xr-x | tests/misc/truncate-relative.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/misc/truncate-relative.sh b/tests/misc/truncate-relative.sh index 933e76385..97be8cb7d 100755 --- a/tests/misc/truncate-relative.sh +++ b/tests/misc/truncate-relative.sh @@ -21,15 +21,15 @@ print_ver_ truncate # mixture of relative modifiers not allowed -truncate --size="+>0" file && fail=1 +returns_ 1 truncate --size="+>0" file || fail=1 # mixture of relative modifiers not allowed -truncate --size=">+0" file && fail=1 +returns_ 1 truncate --size=">+0" file || fail=1 # division by zero -truncate --size="/0" file && fail=1 +returns_ 1 truncate --size="/0" file || fail=1 # division by zero -truncate --size="%0" file && fail=1 +returns_ 1 truncate --size="%0" file || fail=1 Exit $fail |