summaryrefslogtreecommitdiffstats
path: root/tests/test_exec_flush_fprint.out
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-02-11 12:16:52 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-02-11 12:32:34 -0500
commit695ea13d191c903b86b0d5795a2686a8c6e18015 (patch)
tree92bdf1115f88cec1e41b5e08bea8bce02dd43981 /tests/test_exec_flush_fprint.out
parent6ef15e033f997a41c783f87a7084e0aee05c42f9 (diff)
downloadbfs-695ea13d191c903b86b0d5795a2686a8c6e18015.tar.xz
exec: Flush I/O streams before executing anything
Otherwise output from commands may appear unexpectedly earlier than output from bfs. We use fflush(NULL) to flush all streams, which is more than GNU find does, but seems to be a useful extension.
Diffstat (limited to 'tests/test_exec_flush_fprint.out')
-rw-r--r--tests/test_exec_flush_fprint.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_exec_flush_fprint.out b/tests/test_exec_flush_fprint.out
new file mode 100644
index 0000000..511198f
--- /dev/null
+++ b/tests/test_exec_flush_fprint.out
@@ -0,0 +1 @@
+basic/a