summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/testlinks_env.sh.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/testlinks_env.sh.in b/test/testlinks_env.sh.in
index 9ea85b1..e71dfc8 100644
--- a/test/testlinks_env.sh.in
+++ b/test/testlinks_env.sh.in
@@ -30,7 +30,12 @@ fi
# test for external links with HDF5_EXT_PREFIX
echo "Testing external link with HDF5_EXT_PREFIX"
-env "HDF5_EXT_PREFIX=.:tmp" links_env
+TEST_NAME=links_env # The test name
+TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary
+ENVCMD="env HDF5_EXT_PREFIX=.:tmp" # The environment variable & value
+#
+# Run the test
+$ENVCMD $TEST_BIN
exitcode=$?
if [ $exitcode -eq 0 ]; then
echo "Test for HDF5_EXT_PREFIX PASSED"