From 53d36aaf9a856f523bd52de479a88f14338edda3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 13 Sep 2007 08:44:26 +0200 Subject: Adapt tests/tail-2/ to use test-lib.sh. --- tests/tail-2/infloop-1 | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'tests/tail-2/infloop-1') diff --git a/tests/tail-2/infloop-1 b/tests/tail-2/infloop-1 index c60a13a0d..9b2701f9f 100755 --- a/tests/tail-2/infloop-1 +++ b/tests/tail-2/infloop-1 @@ -1,7 +1,7 @@ #!/bin/sh # This test would fail with tail from pre-1.22i textutils. -# Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc. +# Copyright (C) 1999, 2002, 2006-2007 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 @@ -21,18 +21,7 @@ if test "$VERBOSE" = yes; then tail --version fi -tmp=tail-inf1.$$ -pwd=`pwd` -trap 'cd "$pwd" && rm -rf $tmp' 0 1 2 3 15 - -test_failure=0 -mkdir $tmp || test_failure=1 -cd $tmp || test_failure=1 - -if test $test_failure = 1; then - echo 'failure in testing framework' - exit 1 -fi +. $srcdir/../test-lib.sh yes > t & yes_pid=$! -- cgit v1.2.3-54-g00ecf