summaryrefslogtreecommitdiff
path: root/tests/tail-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2')
-rwxr-xr-xtests/tail-2/follow-stdin.sh3
-rwxr-xr-xtests/tail-2/wait.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/tail-2/follow-stdin.sh b/tests/tail-2/follow-stdin.sh
index 120cc3bbb..a2f180428 100755
--- a/tests/tail-2/follow-stdin.sh
+++ b/tests/tail-2/follow-stdin.sh
@@ -33,9 +33,10 @@ cleanup_() { kill $pid 2>/dev/null && wait $pid; }
fastpoll='-s.1 --max-unchanged-stats=1'
echo line > in || framework_failure_
+echo line > exp || framework_failure_
for mode in '' '---disable-inotify'; do
- echo line > exp || framework_failure_
+ > out || framework_failure_
tail $mode -f $fastpoll < in > out 2> err & pid=$!
diff --git a/tests/tail-2/wait.sh b/tests/tail-2/wait.sh
index bcb04858a..008f9f55e 100755
--- a/tests/tail-2/wait.sh
+++ b/tests/tail-2/wait.sh
@@ -72,7 +72,7 @@ if test "$HAVE_INOTIFY"; then
{
local delay="$1"
- touch k || framework_failure_
+ > k && > tail.out && > tail.err || framework_failure_
tail $fastpoll -F $mode k >tail.out 2>tail.err & pid=$!
sleep $delay
mv k l