summaryrefslogtreecommitdiffstats
path: root/test/tunicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tunicode.c')
-rw-r--r--test/tunicode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/tunicode.c b/test/tunicode.c
index bf5f64f..27df42d 100644
--- a/test/tunicode.c
+++ b/test/tunicode.c
@@ -859,5 +859,9 @@ test_unicode(void)
void
cleanup_unicode(void)
{
- HDremove(FILENAME);
+ H5E_BEGIN_TRY
+ {
+ H5Fdelete(FILENAME, H5P_DEFAULT);
+ }
+ H5E_END_TRY;
}