summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-11-30 05:51:42 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-11-30 05:51:42 (GMT)
commit0a506a625b6ce09bf8b87944384e3617f8df5fa7 (patch)
treece94401497437a7df70ea002274d7e7091acea57 /test
parenta25c08e9e23bc804e9c0812cd7c1d17ab15f9c8c (diff)
downloadhdf5-0a506a625b6ce09bf8b87944384e3617f8df5fa7.zip
hdf5-0a506a625b6ce09bf8b87944384e3617f8df5fa7.tar.gz
hdf5-0a506a625b6ce09bf8b87944384e3617f8df5fa7.tar.bz2
[svn-r24476] Description:
Remove duplicate "intent" flags from top & shared file structures, leaving them only in the shared file structure. Tested on: Mac OSX/64 10.9.0 (amazon) w/gcc 4.8, both parallel & serial (too minor to require h5committest)
Diffstat (limited to 'test')
-rw-r--r--test/links.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c
index bcffb3e..0f5e2dc 100644
--- a/test/links.c
+++ b/test/links.c
@@ -4001,6 +4001,9 @@ external_set_elink_acc_flags(hid_t fapl, hbool_t new_format)
/* Create a group through the external link using gapl (should succeed) */
if((group = H5Gcreate2(file1, "/ext_link/group", H5P_DEFAULT, H5P_DEFAULT, gapl)) < 0) TEST_ERROR
+ /* Close group */
+ if(H5Gclose(group) < 0) TEST_ERROR
+
/* Unset elink access flags on gapl */
if(H5Pset_elink_acc_flags(gapl, H5F_ACC_DEFAULT) < 0) TEST_ERROR
@@ -4028,8 +4031,7 @@ external_set_elink_acc_flags(hid_t fapl, hbool_t new_format)
} H5E_END_TRY;
if(ret != FAIL) TEST_ERROR
- /* Close file1 and group */
- if(H5Gclose(group) < 0) TEST_ERROR
+ /* Close file1 */
if(H5Fclose(file1) < 0) TEST_ERROR
/* Verify that H5Fcreate and H5Fopen reject H5F_ACC_DEFAULT */