From 5d70602ed36312b13f70545c1cb010c02c9337e3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Aug 2003 09:46:13 +0000 Subject: Reflect that `split -a 0' is now accepted. --- tests/misc/split-fail | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/misc/split-fail') diff --git a/tests/misc/split-fail b/tests/misc/split-fail index e1a1820b2..93cf8d6f0 100755 --- a/tests/misc/split-fail +++ b/tests/misc/split-fail @@ -25,16 +25,16 @@ fi fail=0 -split -a 0 in 2> /dev/null && fail=1 +split -a 0 in 2> /dev/null || fail=1 split -b 0 in 2> /dev/null && fail=1 split -C 0 in 2> /dev/null && fail=1 split -l 0 in 2> /dev/null && fail=1 # Make sure that the obsolete -N notation still works -env -u _POSIX2_VERSION split -1 in 2> /dev/null || fail=1 +_POSIX2_VERSION=199209 split -1 in 2> /dev/null || fail=1 # Then make sure that -0 evokes a failure. -env -u _POSIX2_VERSION split -0 in 2> /dev/null && fail=1 +_POSIX2_VERSION=199209 split -0 in 2> /dev/null && fail=1 # Ensure that split --lines=N and --bytes=N work for N=2^32. _4gb=4294967296 -- cgit v1.2.3-54-g00ecf