diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-13 08:44:26 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-15 08:40:39 +0200 |
commit | 53d36aaf9a856f523bd52de479a88f14338edda3 (patch) | |
tree | d43c74c6219ab7e0f8d294c131189034b15bea47 /tests/tail-2/assert-2 | |
parent | 10d190b8b6289f8a4b4818bd03b8f3a5dc87fd14 (diff) | |
download | coreutils-53d36aaf9a856f523bd52de479a88f14338edda3.tar.xz |
Adapt tests/tail-2/ to use test-lib.sh.
Diffstat (limited to 'tests/tail-2/assert-2')
-rwxr-xr-x | tests/tail-2/assert-2 | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/tail-2/assert-2 b/tests/tail-2/assert-2 index c13397f48..090bf0ff9 100755 --- a/tests/tail-2/assert-2 +++ b/tests/tail-2/assert-2 @@ -3,7 +3,7 @@ # Due to a race condition in the test, the `assert' script would get # the UMR on Solaris only some of the time, and not at all on Linux/GNU. -# Copyright (C) 2000, 2006 Free Software Foundation, Inc. +# Copyright (C) 2000, 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 @@ -25,19 +25,7 @@ fi # Not "expensive" per se, but sleeping for so long is annoying. . $srcdir/../very-expensive - -tmp=tail-as2.$$ -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 ok='ok ok ok' |