summaryrefslogtreecommitdiffstats
path: root/tests/gnu/exec_flush.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnu/exec_flush.sh')
-rw-r--r--tests/gnu/exec_flush.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gnu/exec_flush.sh b/tests/gnu/exec_flush.sh
new file mode 100644
index 0000000..aaeef6a
--- /dev/null
+++ b/tests/gnu/exec_flush.sh
@@ -0,0 +1,4 @@
+# IO streams should be flushed before executing programs
+invoke_bfs basic -print0 -exec echo found \; | tr '\0' ' ' >"$OUT"
+sort_output
+diff_output