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:
oech3 authored and Pádraig Brady committed 2026-06-18 14:20:35 +01:00
1 parent da1d289554
commit c5d2f42c43
1 file changed
+3
+3
View File
@@ -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