diff options
Diffstat (limited to 'java/testkit/bin/setenv.sh')
| -rw-r--r-- | java/testkit/bin/setenv.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/testkit/bin/setenv.sh b/java/testkit/bin/setenv.sh index 71bb219dcf..e6a726eef1 100644 --- a/java/testkit/bin/setenv.sh +++ b/java/testkit/bin/setenv.sh @@ -60,6 +60,16 @@ if [ "$CLUSTER_LIB" = "" ] ; then fi fi +if [ "$STORE_LIB" = "" ] ; then + if [ -e /usr/lib64/qpid/daemon/msgstore.so ] ; then + CLUSTER_LIB="/usr/lib64/qpid/daemon/msgstore.so" + elif [ -e /usr/lib/qpid/daemon/msgstore.so ] ; then + CLUSTER_LIB="/usr/lib/qpid/daemon/msgstore.so" + else + echo "WARNING: skipping test, STORE_LIB not set and msgstore.so not found."; exit 0; + fi +fi + if [ "$QP_CP" = "" ] ; then if [ -d ../../build/lib/ ]; then QP_JAR_PATH=`abs_path "../../build/lib/"` |
