diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-10 11:02:19 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-10 11:53:02 -0500 |
commit | f98a1c4a1cf61ff7d6483388ca1fac365fb0b31b (patch) | |
tree | f7e9dc817dfb44a4fd9d7588fbb74c343720f613 /tests/gnu/exec_flush.sh | |
parent | 8aea34df2d84dc6c343ec0e349973dfa62307116 (diff) | |
download | bfs-f98a1c4a1cf61ff7d6483388ca1fac365fb0b31b.tar.xz |
Revert "exec: Don't flush if the user says no to -ok"
From the bfs_ctx_flush() implementation:
// Before executing anything, flush all open streams. This ensures that
// - the user sees everything relevant before an -ok[dir] prompt
But that only works if we call it before the prompt.
This reverts commit 21344dfb72f9b65b366ca5f754f1bc35f52da3c7.
Diffstat (limited to 'tests/gnu/exec_flush.sh')
-rw-r--r-- | tests/gnu/exec_flush.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gnu/exec_flush.sh b/tests/gnu/exec_flush.sh index aaeef6a..ff6088e 100644 --- a/tests/gnu/exec_flush.sh +++ b/tests/gnu/exec_flush.sh @@ -1,4 +1,4 @@ -# IO streams should be flushed before executing programs +# I/O streams should be flushed before executing programs invoke_bfs basic -print0 -exec echo found \; | tr '\0' ' ' >"$OUT" sort_output diff_output |