summaryrefslogtreecommitdiff
path: root/tests/cert-tests/pkcs7-broken-sigs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cert-tests/pkcs7-broken-sigs')
-rwxr-xr-xtests/cert-tests/pkcs7-broken-sigs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cert-tests/pkcs7-broken-sigs b/tests/cert-tests/pkcs7-broken-sigs
index 913b2aa6eb..b9351a055a 100755
--- a/tests/cert-tests/pkcs7-broken-sigs
+++ b/tests/cert-tests/pkcs7-broken-sigs
@@ -23,9 +23,15 @@
srcdir="${srcdir:-.}"
CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
DIFF="${DIFF:-diff -b -B}"
+
+if ! test -x "${CERTTOOL}"; then
+ exit 77
+fi
+
if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=15"
fi
+
OUTFILE=out-pkcs7.$$.tmp
OUTFILE2=out2-pkcs7.$$.tmp