summaryrefslogtreecommitdiffstats
path: root/tests/gnu/exec_flush_fail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnu/exec_flush_fail.sh')
-rw-r--r--tests/gnu/exec_flush_fail.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gnu/exec_flush_fail.sh b/tests/gnu/exec_flush_fail.sh
index 4772a14..5505f7a 100644
--- a/tests/gnu/exec_flush_fail.sh
+++ b/tests/gnu/exec_flush_fail.sh
@@ -1,3 +1,3 @@
# Failure to flush streams before exec should be caught
-skip_unless test -e /dev/full
-fail invoke_bfs basic -print0 -exec true \; >/dev/full
+test -e /dev/full || skip
+! invoke_bfs basic -print0 -exec true \; >/dev/full