]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: remove check for broken datefudge
authorMartin Sucha <anty.sk+git@gmail.com>
Fri, 18 May 2018 09:39:53 +0000 (11:39 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 19 May 2018 09:55:59 +0000 (11:55 +0200)
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>
tests/cert-tests/crl

index 767b3d7430622e713018ce8306d4a8dade7c772c..b7febc3bb22a8ab26f350b869a1946540433b0f6 100755 (executable)
@@ -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" \