summaryrefslogtreecommitdiffstats
path: root/java/examples/intro
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-03-22 17:55:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-03-22 17:55:45 (GMT)
commit07b2f7350694daf989eb9da39970c8a9600603c3 (patch)
tree3de0580a50566b5ae31eee5d4657b77b5ba0bffa /java/examples/intro
parent98e315ffffdd4df59ad37259531bcef205d60d0e (diff)
downloadhdf5-07b2f7350694daf989eb9da39970c8a9600603c3.zip
hdf5-07b2f7350694daf989eb9da39970c8a9600603c3.tar.gz
hdf5-07b2f7350694daf989eb9da39970c8a9600603c3.tar.bz2
[svn-r29513] Only delete the copied and generated test files.
Diffstat (limited to 'java/examples/intro')
-rw-r--r--java/examples/intro/runExample.sh.in12
1 files changed, 2 insertions, 10 deletions
diff --git a/java/examples/intro/runExample.sh.in b/java/examples/intro/runExample.sh.in
index 5d13fa6..60ea765 100644
--- a/java/examples/intro/runExample.sh.in
+++ b/java/examples/intro/runExample.sh.in
@@ -145,16 +145,8 @@ COPY_DATAFILES_TO_BLDDIR()
CLEAN_DATAFILES_AND_BLDDIR()
{
- # skip rm if srcdir is same as destdir
- # this occurs when build/test performed in source dir and
- # make cp fail
- SDIR=`$DIRNAME $HDFTEST_HOME/../testfiles/examples.intro.H5_CreateDataset.txt`
- 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
- $RM $BLDDIR/*.txt
- $RM $BLDDIR/*.out
- fi
+ $RM $BLDDIR/examples.intro.H5_*.txt
+ $RM $BLDDIR/H5_*.out
}
# Print a line-line message left justified in a field of 70 characters