diff --git a/tools/test/h5dump/testh5dump.sh.in b/tools/test/h5dump/testh5dump.sh.in index 894aa5eaec..e5680cfeaa 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