Don't try to test the RSA command if it is not available.
This commit is contained in:
parent
e11f0de67f
commit
ee607d338a
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue