diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-04-03 18:08:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 18:08:39 (GMT) |
commit | f105dcc20a8400e4016fb8b5c572f9c27d65d957 (patch) | |
tree | 1de92826c3165f9772067794374e6fc5b65606c2 /test/titerate.c | |
parent | 1c1af33a126e66640c2c2f100f743bd8b8fc07da (diff) | |
download | hdf5-f105dcc20a8400e4016fb8b5c572f9c27d65d957.zip hdf5-f105dcc20a8400e4016fb8b5c572f9c27d65d957.tar.gz hdf5-f105dcc20a8400e4016fb8b5c572f9c27d65d957.tar.bz2 |
Synchronize HDF5 tests with VOL tests (#2628)
Diffstat (limited to 'test/titerate.c')
-rw-r--r-- | test/titerate.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/titerate.c b/test/titerate.c index 48e0aa9..defed21 100644 --- a/test/titerate.c +++ b/test/titerate.c @@ -491,7 +491,7 @@ test_iter_attr(hid_t fapl, hbool_t new_format) if ((ret = H5Aiterate2(dataset, H5_INDEX_NAME, H5_ITER_INC, &idx, aiter_cb, &info)) > 0) TestErrPrintf("Attribute iteration function didn't return zero correctly!\n"); - /* Test all attributes on dataset, when callback always returns 1 */ + /* Test all attributes on dataset, when callback always returns 2 */ /* This also tests the "restarting" ability, because the index changes */ info.command = RET_TWO; i = 0; @@ -1210,5 +1210,9 @@ test_iterate(void) void cleanup_iterate(void) { - HDremove(DATAFILE); + H5E_BEGIN_TRY + { + H5Fdelete(DATAFILE, H5P_DEFAULT); + } + H5E_END_TRY; } |