summaryrefslogtreecommitdiffstats
path: root/test/mount.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-21 16:58:13 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-21 16:58:13 (GMT)
commit35de6099e0c9a785d534044655c47aa33cd766b5 (patch)
tree800d4b6280afcec6ba3e41e252432ffab4376fd4 /test/mount.c
parent52ceb04b1f1fd6598a8e7b2f7083e59a969e50a5 (diff)
downloadhdf5-35de6099e0c9a785d534044655c47aa33cd766b5.zip
hdf5-35de6099e0c9a785d534044655c47aa33cd766b5.tar.gz
hdf5-35de6099e0c9a785d534044655c47aa33cd766b5.tar.bz2
[svn-r25452] realign tests with trunk.
Diffstat (limited to 'test/mount.c')
-rw-r--r--test/mount.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/mount.c b/test/mount.c
index 8c450cc..2502bbe 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -1504,6 +1504,7 @@ test_mount_after_unmount(hid_t fapl)
if(H5Fclose(fid4) < 0)
TEST_ERROR
+
/* Beginning of the actual test code */
/*
@@ -2684,7 +2685,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)
@@ -4262,6 +4263,7 @@ 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
@@ -4287,6 +4289,7 @@ 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