]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected datefudge test
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 19 Dec 2012 14:13:25 +0000 (16:13 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 19 Dec 2012 16:26:45 +0000 (18:26 +0200)
tests/suite/testcompat

index 320d9e41026fbdec7a43873299ee101c230f77ab..f299489683ec688a91e966ee489e7d5410d96fff 100755 (executable)
@@ -26,8 +26,8 @@ if ! test -x /usr/bin/openssl;then
 fi
 
 # Check for datefudge
-TSTAMP=`datefudge "2006-09-23" date -u +%s`
-if test "$TSTAMP" != "1158962400"; then
+TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s`
+if test "$TSTAMP" != "1158969600"; then
     echo "You need datefudge to run this test"
     exit 77
 fi