summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-04-22 06:25:12 (GMT)
committerGitHub <noreply@github.com>2023-04-22 06:25:12 (GMT)
commit7707859279a60b32d2b6c915442a7c04d44445b4 (patch)
tree890d16aa2408b270368b36ea4f05ca20fe2f16f6 /test/tvlstr.c
parenta4371b6fce577852691dfdeac642dec1dd4b9453 (diff)
downloadhdf5-7707859279a60b32d2b6c915442a7c04d44445b4.zip
hdf5-7707859279a60b32d2b6c915442a7c04d44445b4.tar.gz
hdf5-7707859279a60b32d2b6c915442a7c04d44445b4.tar.bz2
Merge with develop (#2790)
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c14
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;
}