diff --git a/tests/csplit/csplit-io-err.sh b/tests/csplit/csplit-io-err.sh index 358d937ce..d853f8bff 100755 --- a/tests/csplit/csplit-io-err.sh +++ b/tests/csplit/csplit-io-err.sh @@ -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