diff options
Diffstat (limited to 'test/links.c')
-rw-r--r-- | test/links.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c index 8a8ab3a..0a164d9 100644 --- a/test/links.c +++ b/test/links.c @@ -3316,8 +3316,8 @@ external_link_closing(hid_t fapl, hbool_t new_format) "elink/elink/elink/elink_copied2", H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR /* Test H5Gset and get comment */ - if(H5Oset_comment(fid1, "elink/elink/elink/group1_moved", "comment", H5P_DEFAULT) < 0) FAIL_STACK_ERROR - if(H5Oget_comment(fid1, "elink/elink/elink/group1_moved", buf, sizeof(buf), H5P_DEFAULT) < 0) FAIL_STACK_ERROR + if(H5Oset_comment_by_name(fid1, "elink/elink/elink/group1_moved", "comment", H5P_DEFAULT) < 0) FAIL_STACK_ERROR + if(H5Oget_comment_by_name(fid1, "elink/elink/elink/group1_moved", buf, sizeof(buf), H5P_DEFAULT) < 0) FAIL_STACK_ERROR if(HDstrcmp(buf, "comment")) TEST_ERROR /* Test H5*open */ |