summaryrefslogtreecommitdiff
path: root/tests/cert-tests/aki
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/aki')
-rwxr-xr-xtests/cert-tests/aki5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cert-tests/aki b/tests/cert-tests/aki
index 3933161bb9..1c72f0d433 100755
--- a/tests/cert-tests/aki
+++ b/tests/cert-tests/aki
@@ -26,6 +26,11 @@ srcdir="${srcdir:-.}"
CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
TMPFILE=aki-$$.tmp
DIFF="${DIFF:-diff -b -B}"
+
+if ! test -x "${CERTTOOL}"; then
+ exit 77
+fi
+
if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
fi