1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

also check obsolete option -0

This commit is contained in:
Jim Meyering
2003-04-09 12:21:13 +00:00
parent 40989ab484
commit 60334e21a8

View File

@@ -28,4 +28,10 @@ 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
# Then make sure that -0 evokes a failure.
env -u _POSIX2_VERSION split -0 in 2> /dev/null && fail=1
(exit $fail); exit $fail