summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sucha <anty.sk+git@gmail.com>2018-05-18 11:39:53 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-05-19 11:55:59 +0200
commitc70b3c46c4d97b102aa10615eeeb4cf8a48d2efa (patch)
tree0b175bb68222416d5df863bcfccc50c90236f82b
parent8175ea952059970bd9a5da0c6e3f2826b8d94002 (diff)
downloadgnutls-c70b3c46c4d97b102aa10615eeeb4cf8a48d2efa.tar.gz
tests: remove check for broken datefudge
This check is not necessary with Fedora 28 build image currently used for CI as it contains datefudge 1.22 as well. Signed-off-by: Martin Sucha <anty.sk+git@gmail.com>
-rwxr-xr-xtests/cert-tests/crl6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/cert-tests/crl b/tests/cert-tests/crl
index 767b3d7430..b7febc3bb2 100755
--- a/tests/cert-tests/crl
+++ b/tests/cert-tests/crl
@@ -179,11 +179,7 @@ if test "$?" != "0"; then
exit 1
fi
-# datefudge <= 1.21 (present in Fedora 26 image) trims the date to 32 bits
-datefudge -s "2138-01-20 10:00:00" date | grep "Mon Jan 20 10:00:00 UTC 2138" >/dev/null 2>&1
-datefudge_ok="$?"
-
-if test "${ac_cv_sizeof_unsigned_long_int}" = 8 && test "${datefudge_ok}" = 0;then
+if test "${ac_cv_sizeof_unsigned_long_int}" = 8;then
# we should test that on systems which have 64-bit time_t
datefudge -s "2138-01-20 10:00:00" ${VALGRIND} \
"${CERTTOOL}" --generate-crl --load-ca-privkey "${srcdir}/data/template-test.key" \