diff options
Diffstat (limited to 'tests/tail-2/assert')
-rwxr-xr-x | tests/tail-2/assert | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/tests/tail-2/assert b/tests/tail-2/assert index a2b5a6df7..72ee9c933 100755 --- a/tests/tail-2/assert +++ b/tests/tail-2/assert @@ -1,7 +1,7 @@ #!/bin/sh # Test for assertion failure in "test". -# Copyright (C) 1999, 2000, 2004, 2006 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2004, 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 @@ -30,19 +30,7 @@ fi # Not "expensive" per se, but sleeping for so long is annoying. . $srcdir/../very-expensive - -tmp=tail-assert.$$ -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' |