summaryrefslogtreecommitdiff
path: root/tests/gnutls-cli-self-signed.sh
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-06-09 10:41:18 +0200
committerDaiki Ueno <ueno@gnu.org>2020-06-12 08:01:27 +0200
commitc06de1e19b5446bae5cb8e982746a547dd4061b4 (patch)
tree29cc941f2756ffad1adb26c8ace5d0b38e463e4b /tests/gnutls-cli-self-signed.sh
parent1270e81b944e1672f89d8a8b1db986535cf5b072 (diff)
downloadgnutls-c06de1e19b5446bae5cb8e982746a547dd4061b4.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/gnutls-cli-self-signed.sh')
-rwxr-xr-xtests/gnutls-cli-self-signed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gnutls-cli-self-signed.sh b/tests/gnutls-cli-self-signed.sh
index 07cd5824b8..fbb5375bf0 100755
--- a/tests/gnutls-cli-self-signed.sh
+++ b/tests/gnutls-cli-self-signed.sh
@@ -45,7 +45,7 @@ SERV="${SERV} -q"
. "${srcdir}/scripts/common.sh"
-check_for_datefudge
+skip_if_no_datefudge
echo "Checking whether connecting to a self signed certificate returns the expected error"