summaryrefslogtreecommitdiff
path: root/tests/tail-2/infloop-1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/infloop-1.sh')
-rwxr-xr-xtests/tail-2/infloop-1.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tail-2/infloop-1.sh b/tests/tail-2/infloop-1.sh
index a4afb675..37d081f3 100755
--- a/tests/tail-2/infloop-1.sh
+++ b/tests/tail-2/infloop-1.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# This test would fail with tail from pre-1.22i textutils.
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,7 +22,8 @@ print_ver_ tail
yes > t &
yes_pid=$!
while :; do
- test -s t && break
+ test -s t \
+ && break
sleep .1
done
tail -n 1 t &