summaryrefslogtreecommitdiff
path: root/tests/cert-tests/name-constraints
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/name-constraints')
-rwxr-xr-xtests/cert-tests/name-constraints7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/cert-tests/name-constraints b/tests/cert-tests/name-constraints
index c818f59f6d..9645879a5c 100755
--- a/tests/cert-tests/name-constraints
+++ b/tests/cert-tests/name-constraints
@@ -28,7 +28,12 @@ if ! test -z "${VALGRIND}"; then
fi
TMPFILE=tmp.$$.pem
-${VALGRIND} "${CERTTOOL}" -e --infile "${srcdir}/data/name-constraints-ip.pem"
+. ${srcdir}/../scripts/common.sh
+
+check_for_datefudge
+
+datefudge -s "2016-04-22" \
+ ${VALGRIND} "${CERTTOOL}" -e --infile "${srcdir}/data/name-constraints-ip.pem"
rc=$?
if test "${rc}" != "0"; then