diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2024-03-15 15:24:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 15:24:32 (GMT) |
commit | 437f21549b02ea6ab9f8bfc0ad3b638403466a0d (patch) | |
tree | d5919eab1bbd59f29026ae470de72f98382f9b62 /test | |
parent | c7c8b93d06fd2c99dee523a11a2d62eb4dfaed74 (diff) | |
download | hdf5-437f21549b02ea6ab9f8bfc0ad3b638403466a0d.zip hdf5-437f21549b02ea6ab9f8bfc0ad3b638403466a0d.tar.gz hdf5-437f21549b02ea6ab9f8bfc0ad3b638403466a0d.tar.bz2 |
Fix doxygen link to example function usage (#4133)
Diffstat (limited to 'test')
-rw-r--r-- | test/links.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c index 299a7c2..87efae8 100644 --- a/test/links.c +++ b/test/links.c @@ -633,8 +633,6 @@ cklinks(hid_t fapl, bool new_format) if ((file = H5Fopen(filename, H5F_ACC_RDONLY, fapl)) < 0) FAIL_STACK_ERROR; - //! [H5Otoken_cmp_snip] - /* Hard link */ if (H5Oget_info_by_name3(file, "d1", &oinfo1, H5O_INFO_BASIC, H5P_DEFAULT) < 0) FAIL_STACK_ERROR; @@ -656,6 +654,9 @@ cklinks(hid_t fapl, bool new_format) puts(" expected file location."); TEST_ERROR; } /* end if */ + + //! [H5Otoken_cmp_snip] + if (H5Lexists(file, "/", H5P_DEFAULT) != true) FAIL_STACK_ERROR; if (H5Lexists(file, "d1", H5P_DEFAULT) != true) |