summaryrefslogtreecommitdiff
path: root/tests/split/suffix-length.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/split/suffix-length.sh')
-rwxr-xr-xtests/split/suffix-length.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/split/suffix-length.sh b/tests/split/suffix-length.sh
index 48f83eb82..0be3e9bc4 100755
--- a/tests/split/suffix-length.sh
+++ b/tests/split/suffix-length.sh
@@ -70,7 +70,7 @@ split -a2 -C1000 < /dev/null || fail=1
# Ensure that -a fails early with a -n that is too large
rm -f x*
-split -a2 -n1000 < /dev/null && fail=1
+returns_ 1 split -a2 -n1000 < /dev/null || fail=1
test -f xaa && fail=1
Exit $fail