summaryrefslogtreecommitdiff
path: root/tests/cert-tests/smime.sh
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2023-02-28 18:49:56 +0100
committerAndreas Metzler <ametzler@bebt.de>2023-04-04 17:56:05 +0200
commit31ece95986d2735421f3461b447acf2755c59838 (patch)
tree6a55dde051a88f88083aabbc9cc00a5ea1fa37f4 /tests/cert-tests/smime.sh
parentb9196b7b7bc5f65abe454a586ffdeabd826eb3d1 (diff)
downloadgnutls-31ece95986d2735421f3461b447acf2755c59838.tar.gz
Change timestamp format for faketime compatibility.
Change all timestamps passed to "datefudge -s" to "YYYY-MM-DD hh:mm:ss" format for compatibility with faketime -f ("Freeze clock" advanced format) Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Diffstat (limited to 'tests/cert-tests/smime.sh')
-rwxr-xr-xtests/cert-tests/smime.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/smime.sh b/tests/cert-tests/smime.sh
index b4fde1351a..ded942bbd1 100755
--- a/tests/cert-tests/smime.sh
+++ b/tests/cert-tests/smime.sh
@@ -46,7 +46,7 @@ if test "${rc}" != "0"; then
fi
-datefudge -s "2017-4-6" \
+datefudge -s "2017-04-06 00:00:00" \
${VALGRIND} "${CERTTOOL}" --p7-verify --load-certificate "${srcdir}/../../doc/credentials/x509/cert-rsa.pem" <"${OUTFILE}"
rc=$?