summaryrefslogtreecommitdiffstats
path: root/test/ttime.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ttime.c')
-rw-r--r--test/ttime.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/ttime.c b/test/ttime.c
index 99f38bc..49ddafd 100644
--- a/test/ttime.c
+++ b/test/ttime.c
@@ -227,5 +227,9 @@ test_time(void)
void
cleanup_time(void)
{
- HDremove(DATAFILE);
+ H5E_BEGIN_TRY
+ {
+ H5Fdelete(DATAFILE, H5P_DEFAULT);
+ }
+ H5E_END_TRY;
}