summaryrefslogtreecommitdiffstats
path: root/java/examples/groups
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-01-13 16:57:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-01-13 16:57:26 (GMT)
commit556ff06975684288794fe53e4ab04f43c972623a (patch)
tree639584bdf6db00299319115a40ff2a9e04296222 /java/examples/groups
parent0f10dedc6eee54fe3b53098ddfc9b91fff4aa480 (diff)
parentbd85e57904f1f943774bb99ea5e8b0d074db0edb (diff)
downloadhdf5-556ff06975684288794fe53e4ab04f43c972623a.zip
hdf5-556ff06975684288794fe53e4ab04f43c972623a.tar.gz
hdf5-556ff06975684288794fe53e4ab04f43c972623a.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'bd85e57904f1f943774bb99ea5e8b0d074db0edb': tools/test/h5diff/testh5diff.sh.in: Add code to delete copies of test .h5 files copied from tools/testfiles/vds to tools/test/h5diff/testfiles when running "make check" for an in-source build.
Diffstat (limited to 'java/examples/groups')
-rw-r--r--java/examples/groups/runExample.sh.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/examples/groups/runExample.sh.in b/java/examples/groups/runExample.sh.in
index 665b307..2a3f1c6 100644
--- a/java/examples/groups/runExample.sh.in
+++ b/java/examples/groups/runExample.sh.in
@@ -153,6 +153,14 @@ CLEAN_DATAFILES_AND_BLDDIR()
{
$RM $BLDDIR/examples.groups.H5Ex_G_*.txt
$RM $BLDDIR/H5Ex_G_*.out
+ $RM $BLDDIR/H5Ex_G_*.h5
+ SDIR=`$DIRNAME $tstfile`
+ INODE_SDIR=`$LS -i -d $SDIR | $AWK -F' ' '{print $1}'`
+ INODE_DDIR=`$LS -i -d $BLDDIR | $AWK -F' ' '{print $1}'`
+ if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then SDIR=`$DIRNAME $tstfile`
+ $RM $BLDDIR/h5ex_g_iterate.h5
+ $RM $BLDDIR/h5ex_g_visit.h5
+ fi
}
COPY_REFFILES="$LIST_REF_FILES"