diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-12-11 02:19:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 02:19:04 (GMT) |
commit | 290b52f1b840e4945cf12508bd4832c5750695d8 (patch) | |
tree | e05a7f47180d69c75bdd3e572e7469d8b6335693 /hl/tools/h5watch/testh5watch.sh.in | |
parent | 206e1dacfe4094b47c2a9e74982450a308fd08c5 (diff) | |
download | hdf5-290b52f1b840e4945cf12508bd4832c5750695d8.zip hdf5-290b52f1b840e4945cf12508bd4832c5750695d8.tar.gz hdf5-290b52f1b840e4945cf12508bd4832c5750695d8.tar.bz2 |
Merge Fix directory variable in shell scripts #1273 (#1278)
Diffstat (limited to 'hl/tools/h5watch/testh5watch.sh.in')
-rw-r--r-- | hl/tools/h5watch/testh5watch.sh.in | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/hl/tools/h5watch/testh5watch.sh.in b/hl/tools/h5watch/testh5watch.sh.in index 04b6ef8..0432384 100644 --- a/hl/tools/h5watch/testh5watch.sh.in +++ b/hl/tools/h5watch/testh5watch.sh.in @@ -13,16 +13,11 @@ # # Tests for the h5watch tool # -bindir=@bindir@ - -# If the bindir directory is not set just use current (.). -if test -z "$bindir"; then - bindir=. -fi +utils_testdir=@abs_top_builddir@/@H5_UTILS_TEST_BUILDDIR@ # Check to see if the VFD specified by the HDF5_DRIVER environment variable # supports SWMR. -$bindir/swmr_check_compat_vfd +$utils_testdir/swmr_check_compat_vfd rc=$? if [ $rc != 0 ] ; then echo @@ -72,10 +67,6 @@ fi nerrors=0 verbose=yes -# The build (current) directory might be different than the source directory. -if test -z "$srcdir"; then - srcdir=. -fi test -d ../testfiles || mkdir ../testfiles # Print a line-line message left justified in a field of 70 characters |