summaryrefslogtreecommitdiffstats
path: root/tools/test/h5dump/testh5dumpvds.sh.in
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-10-20 17:57:09 (GMT)
committerGitHub <noreply@github.com>2023-10-20 17:57:09 (GMT)
commitb5c63fb3fe6ee04b41d80368b406b5d45502ba00 (patch)
treee253a81461fa11533096795ee5064a827651325d /tools/test/h5dump/testh5dumpvds.sh.in
parent630d6e27c956859ff5c0d7a61df3c095fbd7c86b (diff)
downloadhdf5-b5c63fb3fe6ee04b41d80368b406b5d45502ba00.zip
hdf5-b5c63fb3fe6ee04b41d80368b406b5d45502ba00.tar.gz
hdf5-b5c63fb3fe6ee04b41d80368b406b5d45502ba00.tar.bz2
Test scripts now execute in-source with creation of tmp dir (#3723)
Fixes a few issues created in #3580: * Fixes a problem where committed tools test files were deleted when cleaning after an in-source build * Fixes issues with test file paths in Autotools tools test scripts
Diffstat (limited to 'tools/test/h5dump/testh5dumpvds.sh.in')
-rw-r--r--tools/test/h5dump/testh5dumpvds.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5dump/testh5dumpvds.sh.in b/tools/test/h5dump/testh5dumpvds.sh.in
index e09e429..2bd38dc 100644
--- a/tools/test/h5dump/testh5dumpvds.sh.in
+++ b/tools/test/h5dump/testh5dumpvds.sh.in
@@ -58,7 +58,7 @@ SRC_H5STAT_TESTFILES="$SRC_TOOLS/test/h5stat/testfiles"
SRC_H5IMPORT_TESTFILES="$SRC_TOOLS/test/h5import/testfiles"
TEST_P_DIR=./testfiles
-TESTDIR=./testfiles/vds
+TESTDIR=./tmpvds
test -d $TEST_P_DIR || mkdir -p $TEST_P_DIR
test -d $TESTDIR || mkdir -p $TESTDIR
@@ -166,7 +166,7 @@ CLEAN_TESTFILES_AND_TESTDIR()
# skip rm if srcdir is same as destdir
# this occurs when build/test performed in source dir and
# make cp fail
- SDIR=$SRC_H5DUMP_TESTFILES/vds
+ SDIR=$SRC_H5DUMP_TESTFILES
INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
INODE_DDIR=`$LS -i -d $TESTDIR | $AWK -F' ' '{print $1}'`
if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then