diff options
Diffstat (limited to 'tests/split/filter')
-rwxr-xr-x | tests/split/filter | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/split/filter b/tests/split/filter index a42c5539e..5bc54581f 100755 --- a/tests/split/filter +++ b/tests/split/filter @@ -43,6 +43,9 @@ done split -e -n 10 --filter='xz > $FILE.xz' /dev/null || fail=1 stat x?? 2>/dev/null && fail=1 +# Ensure this invalid combination is flagged +split -n 1/2 --filter='true' /dev/null 2>/dev/null && fail=1 + # Ensure SIGPIPEs sent by the children don't propagate back # where they would result in a non zero exit from split. yes | head -n200K | split -b1G --filter='head -c1 >/dev/null' || fail=1 |