Address run-time linker problems: LD_PRELOAD issue on multi-ABI platforms
[openssl.git] / test / trsa
index a7a624978f329225a346185611581a4891777d00..249ac1ddcc6b4d3975c5bcadfd0a1f4d70b1dc06 100644 (file)
--- a/test/trsa
+++ b/test/trsa
@@ -1,16 +1,11 @@
 #!/bin/sh
 
-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
+if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then
+  echo skipping rsa conversion test
   exit 0
 fi
 
-cmd='../apps/openssl rsa'
+cmd='../util/shlib_wrap.sh ../apps/openssl rsa'
 
 if [ "$1"x != "x" ]; then
        t=$1