summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_group_writer.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-07-22 17:47:44 (GMT)
committerGitHub <noreply@github.com>2021-07-22 17:47:44 (GMT)
commitdbd850ccc1a5b210fc94c35b88b81069e4239ae7 (patch)
tree714eb58e6716e9eaefadd1549907dfa68e31643c /test/vfd_swmr_group_writer.c
parent3ba79265098f6154a5ce3c0124df465be1ed69e3 (diff)
downloadhdf5-dbd850ccc1a5b210fc94c35b88b81069e4239ae7.zip
hdf5-dbd850ccc1a5b210fc94c35b88b81069e4239ae7.tar.gz
hdf5-dbd850ccc1a5b210fc94c35b88b81069e4239ae7.tar.bz2
VFD SWMR: Fixes for using base versions of versioned API calls (#850)
* Fixes for using base versions of versioned API calls * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/vfd_swmr_group_writer.c')
-rw-r--r--test/vfd_swmr_group_writer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/vfd_swmr_group_writer.c b/test/vfd_swmr_group_writer.c
index f491353..c758781 100644
--- a/test/vfd_swmr_group_writer.c
+++ b/test/vfd_swmr_group_writer.c
@@ -3031,8 +3031,8 @@ verify_group(state_t *s, unsigned int which)
esnprintf(name, sizeof(name), "/group-%u", which);
- if ((g = H5Gopen(s->file, name, H5P_DEFAULT)) < 0) {
- HDprintf("H5Gopen failed\n");
+ if ((g = H5Gopen2(s->file, name, H5P_DEFAULT)) < 0) {
+ HDprintf("H5Gopen2 failed\n");
TEST_ERROR;
}
@@ -4078,8 +4078,8 @@ vrfy_create_group(state_t *s, unsigned int which)
esnprintf(name, sizeof(name), "/group-%u", which);
- if ((g = H5Gopen(s->file, name, H5P_DEFAULT)) < 0) {
- HDprintf("H5Gopen failed\n");
+ if ((g = H5Gopen2(s->file, name, H5P_DEFAULT)) < 0) {
+ HDprintf("H5Gopen2 failed\n");
TEST_ERROR;
}
@@ -4195,8 +4195,8 @@ vrfy_create_group_id(state_t *s, unsigned int which, bool dense_to_compact)
esnprintf(name, sizeof(name), "/group-%u", which);
- if ((g = H5Gopen(s->file, name, H5P_DEFAULT)) < 0) {
- HDprintf("H5Gopen failed\n");
+ if ((g = H5Gopen2(s->file, name, H5P_DEFAULT)) < 0) {
+ HDprintf("H5Gopen2 failed\n");
TEST_ERROR;
}
@@ -4569,8 +4569,8 @@ vrfy_move_one_group(state_t *s, hid_t obj_id, const char *name, const char *newn
TEST_ERROR;
}
- if ((g = H5Gopen(obj_id, newname, H5P_DEFAULT)) < 0) {
- HDprintf("H5Gopen failed\n");
+ if ((g = H5Gopen2(obj_id, newname, H5P_DEFAULT)) < 0) {
+ HDprintf("H5Gopen2 failed\n");
TEST_ERROR;
}