summaryrefslogtreecommitdiff
path: root/tests/cert-tests/tlsfeature-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/tlsfeature-test')
-rwxr-xr-xtests/cert-tests/tlsfeature-test10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/cert-tests/tlsfeature-test b/tests/cert-tests/tlsfeature-test
index 0070ea8627..e76aa109b3 100755
--- a/tests/cert-tests/tlsfeature-test
+++ b/tests/cert-tests/tlsfeature-test
@@ -27,13 +27,9 @@ TMPFILE=tlsfeature.$$.tmp
TMPFILE2=tlsfeature-2.$$.tmp
export TZ="UTC"
-# Check for datefudge
-TSTAMP=`datefudge "2006-09-23" date -u +%s || true`
-if test "$TSTAMP" != "1158969600"; then
- echo $TSTAMP
- echo "You need datefudge to run this test"
- exit 77
-fi
+. ${srcdir}/../scripts/common.sh
+
+check_for_datefudge
#
# Test certificate generation