diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2018-02-14 23:36:32 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2018-02-14 23:36:32 (GMT) |
commit | db60f70286910498ca40291841a55114cf0ea3f7 (patch) | |
tree | 5070f869384c5df66aab9cb373fa34b795f186ae /test | |
parent | 9adb74e41b0e6870991267a2beac9bba3c8de7f8 (diff) | |
parent | ea2fb549245ac33baf7062c7e87c390bf0261677 (diff) | |
download | hdf5-db60f70286910498ca40291841a55114cf0ea3f7.zip hdf5-db60f70286910498ca40291841a55114cf0ea3f7.tar.gz hdf5-db60f70286910498ca40291841a55114cf0ea3f7.tar.bz2 |
Merge pull request #898 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit 'ea2fb549245ac33baf7062c7e87c390bf0261677':
Fix for daily test failure Fix for test/testhdf5.sh for configuration with --enable-using-memchecker.
Diffstat (limited to 'test')
-rw-r--r-- | test/tfile.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/tfile.c b/test/tfile.c index 1678fb6..de1f362 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -5518,7 +5518,12 @@ test_libver_bounds_super_open(hid_t fapl, hid_t fcpl, htri_t is_swmr) H5E_BEGIN_TRY { fid = H5Fopen(FILE8, H5F_ACC_RDWR | (is_swmr ? H5F_ACC_SWMR_WRITE : 0), new_fapl); } H5E_END_TRY; - ok = fid >= 0; + + /* Get the internal file pointer if the open succeeds */ + if((ok = fid >= 0)) { + f = (H5F_t *)H5I_object(fid); + CHECK(f, NULL, "H5I_object"); + } /* Verify the file open succeeds or fails */ switch(super_vers) { |