diff options
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r-- | test/tvlstr.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c index c9204a5..3fcc57d 100644 --- a/test/tvlstr.c +++ b/test/tvlstr.c @@ -880,6 +880,8 @@ test_write_same_element(void) hsize_t coord[SPACE1_RANK][NUMP]; herr_t ret; + MESSAGE(5, ("Testing writing to same element of VL string dataset twice\n")); + file1 = H5Fcreate(DATAFILE3, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(file1, FAIL, "H5Fcreate"); @@ -993,14 +995,16 @@ test_vlstrings(void) * Programmer: Quincey Koziol * September 10, 1999 * - * Modifications: - * *------------------------------------------------------------------------- */ void cleanup_vlstrings(void) { - HDremove(DATAFILE); - HDremove(DATAFILE2); - HDremove(DATAFILE3); + H5E_BEGIN_TRY + { + H5Fdelete(DATAFILE, H5P_DEFAULT); + H5Fdelete(DATAFILE2, H5P_DEFAULT); + H5Fdelete(DATAFILE3, H5P_DEFAULT); + } + H5E_END_TRY; } |