From 71d3a0006ac4429ab3c13ed5d979fa695223ac84 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 6 Nov 2007 09:40:31 -0500 Subject: [svn-r14239] Description: Add new test file to manifest. Switch to using latest version of H5Gopen(). Tested on: FreeBSD/32 6.2 (duty) --- MANIFEST | 1 + test/external.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MANIFEST b/MANIFEST index e832275..14d2885 100644 --- a/MANIFEST +++ b/MANIFEST @@ -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) -- cgit v0.12