From: oech3 <79379754+oech3@users.noreply.github.com> Date: Wed, 17 Jun 2026 09:12:18 +0000 (+0900) Subject: tests: split: ensure no files created with no input X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5d2f42c437a3ce4032705bf23c2bf97f9fa7f10;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/tests/split/split-io-err.sh b/tests/split/split-io-err.sh index 2e3b3f632d..e2dfea829c 100755 --- a/tests/split/split-io-err.sh +++ b/tests/split/split-io-err.sh @@ -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