1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-10 17:31:56 +02:00

tests: split: ensure directories not replaced

* tests/split/split-io-err.sh: Add a test case.
From https://github.com/coreutils/coreutils/pull/158
This commit is contained in:
oech3
2026-01-02 01:03:41 +09:00
committed by Pádraig Brady
parent ae5ceffc13
commit 1170bc9489

View File

@@ -38,4 +38,10 @@ test -e xab && fail=1
# Ensure we got the expected error message
compare exp err || fail=1
rm xaa || framework_failure_
# Similar for directory
mkdir xaa || framework_failure_
seq 2 | returns_ 1 split -b 1 2 || fail=1
test -d xaa || fail=1
Exit $fail