summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2010-11-15 19:24:46 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2010-11-15 19:24:46 (GMT)
commit901b01601ac242040ec3a78eda97391545f0f16b (patch)
tree43a77dbf25fe0f444bea8d0e7518b1a080a01844 /test
parentcd7057b21ca699ade836c780080a81988c84cac6 (diff)
downloadhdf5-901b01601ac242040ec3a78eda97391545f0f16b.zip
hdf5-901b01601ac242040ec3a78eda97391545f0f16b.tar.gz
hdf5-901b01601ac242040ec3a78eda97391545f0f16b.tar.bz2
[svn-r19783] Fix to the checkin for bug #1930.
Diffstat (limited to 'test')
-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"