1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-17 12:52:16 +02:00

tests: tail-2/flush-initial should not rely on stdbuf

* tests/tail-2/flush-initial: stdbuf is not built on all systems.
In any case it's redundant since stdout will automatically be buffered
since we're redirecting to file. So just call tail without using stdbuf.
This commit is contained in:
Pádraig Brady
2009-09-07 17:03:08 +01:00
parent a8d26b3ce1
commit fd9750b0ff

View File

@@ -25,7 +25,9 @@ fi
fail=0
echo line > in || fail=1
stdbuf --output=1K tail -f in > out &
# Output should be buffered since we're writing to file
# so we're depending on the flush to write out
tail -f in > out &
tail_pid=$!
# Wait for 1 second for the file to be flushed.