mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tests: extend csplit-io-err.sh for directory
* tests/csplit/csplit-io-err.sh: Add a test case to ensure a directory is _not_ replaced.
This commit is contained in:
1 parent
75e314a11a
commit
6a2a781efd
1 file changed
+5
@@ -36,4 +36,9 @@ test -e xx01 && fail=1
|
||||
# Ensure we got the expected error message
|
||||
compare exp err || fail=1
|
||||
|
||||
# csplit does not remove xx01 directory
|
||||
mkdir xx01 || framework_failure_
|
||||
seq 2 | returns_ 1 csplit - 1 || fail=1
|
||||
test -d xx01 || fail=1
|
||||
|
||||
Exit $fail
|
||||
Reference in new issue
Block a user