summaryrefslogtreecommitdiffstats
path: root/tools/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-06-24 21:10:20 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-06-24 21:10:20 (GMT)
commitf6ddfd7dda8aa95b33ae89b87c70493d5c644dbe (patch)
tree17f9efaf98250526111659c08b03ee70afdfa33d /tools/test
parentcf3de59f84ed11964d1630366b523239f4570eba (diff)
downloadhdf5-f6ddfd7dda8aa95b33ae89b87c70493d5c644dbe.zip
hdf5-f6ddfd7dda8aa95b33ae89b87c70493d5c644dbe.tar.gz
hdf5-f6ddfd7dda8aa95b33ae89b87c70493d5c644dbe.tar.bz2
Add test cleanup
Diffstat (limited to 'tools/test')
-rw-r--r--tools/test/h5dump/testh5dump.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/test/h5dump/testh5dump.sh.in b/tools/test/h5dump/testh5dump.sh.in
index 894aa5e..e5680cf 100644
--- a/tools/test/h5dump/testh5dump.sh.in
+++ b/tools/test/h5dump/testh5dump.sh.in
@@ -928,6 +928,11 @@ GREPTEST()
echo " FAILED"
nerrors="`expr $nerrors + 1`"
fi
+
+ # Clean up output file
+ if test -z "$HDF5_NOCLEANUP"; then
+ rm -f $actual $actual_err
+ fi
}
# Print a "SKIP" message