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.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/split/suffix-length.sh b/tests/split/suffix-length.sh
index af5e95ee..0be3e9bc 100755
--- a/tests/split/suffix-length.sh
+++ b/tests/split/suffix-length.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Show that split -a works.
-# Copyright (C) 2002-2014 Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -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