summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-03-13 18:05:59 +0000
committerBodo Möller <bodo@openssl.org>2000-03-13 18:05:59 +0000
commitee607d338a6b023375d70e487062a47de65f5508 (patch)
tree50022ec248ced2ee95a635ec3f3f76ef8de1576c /test
parente11f0de67f10434c8b3fff5dbd0fe583f78f76e5 (diff)
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