aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tail/tests/tail_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tail/tests/tail_test.sh')
-rwxr-xr-xusr.bin/tail/tests/tail_test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/tail/tests/tail_test.sh b/usr.bin/tail/tests/tail_test.sh
index 74d6908f7568..82c74a0d4da4 100755
--- a/usr.bin/tail/tests/tail_test.sh
+++ b/usr.bin/tail/tests/tail_test.sh
@@ -341,6 +341,7 @@ follow_create_body()
rm -f infile
tail -F infile > outfile &
pid=$!
+ sleep 0.1
seq 1 5 >infile
sleep 2
atf_check cmp infile outfile
@@ -360,6 +361,7 @@ follow_rename_body()
seq 1 3 > infile
tail -F infile > outfile &
pid=$!
+ sleep 0.1
seq 4 5 > infile_new
atf_check mv infile infile_old
atf_check mv infile_new infile