diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-11-30 05:50:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-11-30 05:50:55 (GMT) |
commit | 43845ae14d68aa6a945c50993b144d93bc9baa67 (patch) | |
tree | 51afb8a23ed70ec707a102530b29e9fd8dc3a8b2 /test | |
parent | c31111a5f0d79cfc05c84619187f4ed6da22ab69 (diff) | |
download | hdf5-43845ae14d68aa6a945c50993b144d93bc9baa67.zip hdf5-43845ae14d68aa6a945c50993b144d93bc9baa67.tar.gz hdf5-43845ae14d68aa6a945c50993b144d93bc9baa67.tar.bz2 |
[svn-r24475] 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
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 0bcfd31..e9651e2 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 /* Reopen file1, with read-write and SWMR-write access */ |