diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-06-09 10:41:18 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-08-31 08:08:38 +0200 |
commit | c22dfaef4780bc1968c5d4400f725892f57c9507 (patch) | |
tree | b69e8e1cd7f74e3ab9536380de8f6258fd09d498 /tests/cert-tests/pkcs7-cat | |
parent | 4ca6854f6f570e1165b53244c5219fafa1ae1634 (diff) | |
download | gnutls-c22dfaef4780bc1968c5d4400f725892f57c9507.tar.gz |
tests: check_for_datefudge: don't exit the test programs
This makes check_for_datefudge not to immediately exit the program,
but to return non-zero to allow the tests by themselves to control the
behavior when "datefudge" is not found.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'tests/cert-tests/pkcs7-cat')
-rwxr-xr-x | tests/cert-tests/pkcs7-cat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cert-tests/pkcs7-cat b/tests/cert-tests/pkcs7-cat index 0f5b82df12..6543397431 100755 --- a/tests/cert-tests/pkcs7-cat +++ b/tests/cert-tests/pkcs7-cat @@ -36,7 +36,7 @@ OUTFILE=out-pkcs7.$$.tmp . ${srcdir}/../scripts/common.sh -check_for_datefudge +skip_if_no_datefudge datefudge -s "2016-10-1" \ ${VALGRIND} "${CERTTOOL}" --verify-allow-broken --p7-verify --inder --infile "${srcdir}/data/pkcs7-cat.p7" --load-ca-certificate "${srcdir}/data/pkcs7-cat-ca.pem" rc=$? |