]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Reflect that `split -a 0' is now accepted.
authorJim Meyering <jim@meyering.net>
Sat, 9 Aug 2003 09:46:13 +0000 (09:46 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 9 Aug 2003 09:46:13 +0000 (09:46 +0000)
tests/misc/split-fail

index e1a1820b235b429dd4cd7aa12ae6b0b043fe1e71..93cf8d6f016ad40351c195e496920d053a89991a 100755 (executable)
@@ -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