diff options
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | test/external.c | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -749,6 +749,7 @@ ./test/enum.c ./test/extend.c ./test/external.c +./test/extlink_file.h5 ./test/error_test.c ./test/err_compat.c ./test/family_v1.6_00000.h5 diff --git a/test/external.c b/test/external.c index 59e6be8..5b83f0b 100644 --- a/test/external.c +++ b/test/external.c @@ -849,7 +849,7 @@ test_4 (hid_t fapl) if((fid = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl)) < 0) goto error; - if((gid = H5Gopen(fid, "/", H5P_DEFAULT)) < 0) + if((gid = H5Gopen2(fid, "/", H5P_DEFAULT)) < 0) goto error; pathname[0] = '\0'; @@ -875,11 +875,11 @@ test_4 (hid_t fapl) goto error; /* Open the external link */ - if((xid = H5Gopen(fid, "/ link", H5P_DEFAULT)) < 0) + if((xid = H5Gopen2(fid, "/ link", H5P_DEFAULT)) < 0) goto error; /* Open the external link twice */ - if((xid2 = H5Gopen(xid, ".", H5P_DEFAULT)) < 0) + if((xid2 = H5Gopen2(xid, ".", H5P_DEFAULT)) < 0) goto error; if(H5Gclose(xid2) < 0) |