summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-03-13 19:05:59 +0100
committerBodo Möller <bodo@openssl.org>2000-03-13 19:05:59 +0100
commitee607d338a6b023375d70e487062a47de65f5508 (patch)
tree50022ec248ced2ee95a635ec3f3f76ef8de1576c /test
parentCopy DH key (if available) in addition to the bare parameters (diff)
downloadopenssl-ee607d338a6b023375d70e487062a47de65f5508.tar.xz
openssl-ee607d338a6b023375d70e487062a47de65f5508.zip
Don't try to test the RSA command if it is not available.
Diffstat (limited to 'test')
-rw-r--r--test/trsa7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/trsa b/test/trsa
index d6a4dd826d..a7a624978f 100644
--- a/test/trsa
+++ b/test/trsa
@@ -3,6 +3,13 @@
PATH=../apps:$PATH
export PATH
+if ../apps/openssl list-standard-commands | grep '^rsa$' >/dev/null; then
+ echo openssl rsa command available
+else
+ echo openssl rsa command not available, skipping test
+ exit 0
+fi
+
cmd='../apps/openssl rsa'
if [ "$1"x != "x" ]; then