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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user