summaryrefslogtreecommitdiff
path: root/tests/tail-2/fflush
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/fflush')
-rwxr-xr-xtests/tail-2/fflush15
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/tail-2/fflush b/tests/tail-2/fflush
index 6711818e9..020601f17 100755
--- a/tests/tail-2/fflush
+++ b/tests/tail-2/fflush
@@ -3,7 +3,7 @@
# The problem was that using the solaris5.7 setvbuf function to turn off
# buffering doesn't flush stdout.
-# Copyright (C) 1999, 2000, 2003, 2006 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 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
@@ -29,18 +29,7 @@ if test "$VERBOSE" = yes; then
tail --version
fi
-tmp=tail-flush.$$
-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
echo fubar > in
tail -f in | cat > out &