mirror of
https://github.com/coreutils/coreutils.git
synced 2026-10-28 09:44:34 +08:00
tests: split: ensure no files created with no input
* tests/split/split-io-err.sh: Ensure 'xaa' is not opened/created with empty input. https://github.com/coreutils/coreutils/pull/297
This commit is contained in:
1 parent
da1d289554
commit
c5d2f42c43
1 file changed
+3
@@ -41,4 +41,7 @@ mkdir xaa || framework_failure_
|
||||
seq 2 | returns_ 1 split -b 1 2 || fail=1
|
||||
test -d xaa || fail=1
|
||||
|
||||
# Ensure no file is created without input
|
||||
split < /dev/null || fail=1
|
||||
|
||||
Exit $fail
|
||||
Reference in new issue
Block a user