summaryrefslogtreecommitdiffstats
path: root/test/mount.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-03-12 21:50:25 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-03-12 21:50:25 (GMT)
commit90ec386c958859b73bc050eafa7d525df9dd618c (patch)
treecee070045fb0d2b1d0dacb9be421ca4198e27592 /test/mount.c
parentc7b3e19329bb9f417b397d945c20b27c56a7420f (diff)
downloadhdf5-90ec386c958859b73bc050eafa7d525df9dd618c.zip
hdf5-90ec386c958859b73bc050eafa7d525df9dd618c.tar.gz
hdf5-90ec386c958859b73bc050eafa7d525df9dd618c.tar.bz2
[svn-r22056] - fix several bugs in id management
- update test cases that get the H5F_t struct to use H5I_object_verify instead of H5I_object because of the higher user level ID that is introduced - add some workarounds to take into consideration that the high level ID is not used everywhere at the moment - add a routine that translates from low level ids to high level ids
Diffstat (limited to 'test/mount.c')
-rw-r--r--test/mount.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/mount.c b/test/mount.c
index b7180fa..2b6e44f 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -2691,7 +2691,7 @@ test_acc_perm(hid_t fapl)
if((gidAMZ = H5Gcreate2(fid1, "/A/M/Z", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
TEST_ERROR
- /* Get and verify file name */
+ /* get and verify file name */
if(H5Fget_name(gidAMZ, name, NAME_BUF_SIZE) < 0)
TEST_ERROR
if(HDstrcmp(name, filename3) != 0)
@@ -4286,7 +4286,6 @@ test_multisharedclose(hid_t fapl)
if (H5Idec_ref(fid2) < 0) TEST_ERROR
if (H5Idec_ref(fid1) < 0) TEST_ERROR
-
/* Open master and child 2 and mount child 2 to master */
if ((fid1 = H5Fopen(filename4, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) TEST_ERROR
if ((fid2 = H5Fopen(filename2, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) TEST_ERROR
@@ -4312,7 +4311,6 @@ test_multisharedclose(hid_t fapl)
if (H5Idec_ref(fid2) < 0) TEST_ERROR
if (H5Idec_ref(fid1) < 0) TEST_ERROR
-
/* Close gid1. This will close child 1. */
if (H5Idec_ref(gid1) < 0) TEST_ERROR