summaryrefslogtreecommitdiff
path: root/tests/date/date-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/date/date-tests')
-rwxr-xr-xtests/date/date-tests20
1 files changed, 1 insertions, 19 deletions
diff --git a/tests/date/date-tests b/tests/date/date-tests
index d01de3a37..28a37ca43 100755
--- a/tests/date/date-tests
+++ b/tests/date/date-tests
@@ -36,24 +36,6 @@ else
esac
fi
test -s 1.E || rm -f 1.E
-LANG=C TZ=UTC0 $xx -d '1997-01-19 08:17:48 +0' +'%c' > 2.O 2> 2.E
-code=$?
-if test $code != 0; then
- $echo "Test 2(LANG=C TZ=UTC0) failed: ../../src/date return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp 2.O $srcdir/2.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE"; then $echo "passed 2(LANG=C TZ=UTC0)"; fi;;
- 1) $echo "Test 2(LANG=C TZ=UTC0) failed: files 2.O and $srcdir/2.X differ" 1>&2
- (diff -c 2.O $srcdir/2.X) 2> /dev/null
- errors=`expr $errors + 1`;;
- 2) $echo "Test 2(LANG=C TZ=UTC0) may have failed." 1>&2
- $echo The command "cmp 2.O $srcdir/2.X" failed. 1>&2
- errors=`expr $errors + 1`;;
- esac
-fi
-test -s 2.E || rm -f 2.E
LANG=C TZ=UTC0 $xx -d '1997-01-19 08:17:48 +0' +'%d_%D_%e_%h_%H' > 3.O 2> 3.E
code=$?
if test $code != 0; then
@@ -1099,7 +1081,7 @@ else
fi
test -s relative-2.E || rm -f relative-2.E
if test $errors = 0; then
- $echo Passed all 60 tests. 1>&2
+ $echo Passed all 59 tests. 1>&2
else
$echo Failed $errors tests. 1>&2
fi