diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-11-30 06:37:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-11-30 06:37:44 (GMT) |
commit | 92d40e82f16f5f0411e7320f524ac17eb2d13db5 (patch) | |
tree | 88f60a13e94bffea238535639f1796bbe3491e7b /test | |
parent | c80d8cbe61e3b36a727a8b4150ef8966292ae9c3 (diff) | |
download | hdf5-92d40e82f16f5f0411e7320f524ac17eb2d13db5.zip hdf5-92d40e82f16f5f0411e7320f524ac17eb2d13db5.tar.gz hdf5-92d40e82f16f5f0411e7320f524ac17eb2d13db5.tar.bz2 |
[svn-r24477] Description:
Bring r24476 from trunk to 1.8 branch:
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.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/links.c b/test/links.c index b66c495..3a7f465 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 */ |