summaryrefslogtreecommitdiff
path: root/tests/tail-2/pipe-f
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/pipe-f')
-rwxr-xr-xtests/tail-2/pipe-f8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/tail-2/pipe-f b/tests/tail-2/pipe-f
index bf38c183c..b6fef16d7 100755
--- a/tests/tail-2/pipe-f
+++ b/tests/tail-2/pipe-f
@@ -16,12 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- tail --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && tail --version
echo foo | timeout 10 tail -f -c3 > out || fail=1
echo oo > exp || fail=1