summaryrefslogtreecommitdiffstats
path: root/test/tarray.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tarray.c')
-rw-r--r--test/tarray.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/tarray.c b/test/tarray.c
index c2cc279..06eac90 100644
--- a/test/tarray.c
+++ b/test/tarray.c
@@ -2244,5 +2244,9 @@ test_array(void)
void
cleanup_array(void)
{
- HDremove(FILENAME);
+ H5E_BEGIN_TRY
+ {
+ H5Fdelete(FILENAME, H5P_DEFAULT);
+ }
+ H5E_END_TRY;
} /* end cleanup_array() */