summaryrefslogtreecommitdiffstats
path: root/tools/misc/testh5mkgrp.sh
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-06-26 16:08:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-06-26 16:08:38 (GMT)
commitd114cda9a00a89323aedacec5dfcbbdf0aca32b7 (patch)
tree1bb352d0fb2da88b403024c497df4ddd7e7dd64e /tools/misc/testh5mkgrp.sh
parentfc42567dbe0c157b96ef9811517f1d9193c3c844 (diff)
downloadhdf5-d114cda9a00a89323aedacec5dfcbbdf0aca32b7.zip
hdf5-d114cda9a00a89323aedacec5dfcbbdf0aca32b7.tar.gz
hdf5-d114cda9a00a89323aedacec5dfcbbdf0aca32b7.tar.bz2
[svn-r13914] Description:
Clean up files generated during testing. Tested on: Linux/32 2.6 (chicago)
Diffstat (limited to 'tools/misc/testh5mkgrp.sh')
-rw-r--r--tools/misc/testh5mkgrp.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/misc/testh5mkgrp.sh b/tools/misc/testh5mkgrp.sh
index b90c288..50ac23b 100644
--- a/tools/misc/testh5mkgrp.sh
+++ b/tools/misc/testh5mkgrp.sh
@@ -79,6 +79,11 @@ TOOLTEST()
nerrors="`expr $nerrors + 1`"
else
echo " PASSED"
+
+ # Clean up output file
+ if test -z "$HDF5_NOCLEANUP"; then
+ rm -f output.out
+ fi
fi
}
@@ -112,6 +117,11 @@ H5LSTEST()
nerrors="`expr $nerrors + 1`"
test yes = "$verbose" && $DIFF $expect $actual |sed 's/^/ /'
fi
+
+ # Clean up output file
+ if test -z "$HDF5_NOCLEANUP"; then
+ rm -f $actual $actual_err
+ fi
}
# Single run of tool
@@ -138,6 +148,7 @@ RUNTEST()
# Remove output file created, if the "no cleanup" environment variable is
# not defined
+echo "FILEOUT=" $FILEOUT
if test -z "$HDF5_NOCLEANUP"; then
rm -f $FILEOUT
fi