diff options
Diffstat (limited to 'tests/touch/obsolescent')
-rwxr-xr-x | tests/touch/obsolescent | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/tests/touch/obsolescent b/tests/touch/obsolescent index a1504f31d..dc1008d10 100755 --- a/tests/touch/obsolescent +++ b/tests/touch/obsolescent @@ -1,7 +1,7 @@ #!/bin/sh # Test touch with obsolescent 8- or 10-digit time stamps. -# Copyright (C) 2000, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2000, 2004-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 @@ -16,27 +16,15 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -_POSIX2_VERSION=199209; export _POSIX2_VERSION -POSIXLY_CORRECT=1; export POSIXLY_CORRECT - if test "$VERBOSE" = yes; then set -x touch --version fi -pwd=`pwd` -tmp=obsol.$$ -trap 'status=$?; cd "$pwd" && rm -rf $tmp && exit $status' 0 -trap '(exit $?); exit' 1 2 13 15 - -framework_failure=0 -mkdir $tmp || framework_failure=1 -cd $tmp || framework_failure=1 +. $srcdir/../test-lib.sh -if test $framework_failure = 1; then - echo 'failure in testing framework' - (exit 1); exit 1 -fi +_POSIX2_VERSION=199209; export _POSIX2_VERSION +POSIXLY_CORRECT=1; export POSIXLY_CORRECT fail=0 |