diff options
author | Andreas Metzler <ametzler@bebt.de> | 2023-02-28 18:49:56 +0100 |
---|---|---|
committer | Andreas Metzler <ametzler@bebt.de> | 2023-04-04 17:56:05 +0200 |
commit | 31ece95986d2735421f3461b447acf2755c59838 (patch) | |
tree | 6a55dde051a88f88083aabbc9cc00a5ea1fa37f4 /tests/cert-tests/smime.sh | |
parent | b9196b7b7bc5f65abe454a586ffdeabd826eb3d1 (diff) | |
download | gnutls-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-x | tests/cert-tests/smime.sh | 2 |
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=$? |