summaryrefslogtreecommitdiff
path: root/tests/cert-tests/certtool-long-cn
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/certtool-long-cn')
-rwxr-xr-xtests/cert-tests/certtool-long-cn4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cert-tests/certtool-long-cn b/tests/cert-tests/certtool-long-cn
index df430a2626..41e7a9740c 100755
--- a/tests/cert-tests/certtool-long-cn
+++ b/tests/cert-tests/certtool-long-cn
@@ -27,6 +27,10 @@ CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
DIFF="${DIFF:-diff -b -B}"
outfile="out.$$.pem"
+if ! test -x "${CERTTOOL}"; then
+ exit 77
+fi
+
if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=3"
fi