mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype.
Tested: jam (using split virtual driver)
This commit is contained in:
parent
7f06904d28
commit
5619a9a119
@ -2402,7 +2402,7 @@ test_main(hid_t file_id, hid_t fapl)
|
||||
if(H5Fclose(file2_id) < 0) TEST_ERROR
|
||||
|
||||
/* Re-open the file and check that the anonymous datatypes persist */
|
||||
if( (file2_id = H5Fopen(filename2, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) TEST_ERROR
|
||||
if( (file2_id = H5Fopen(filename2, H5F_ACC_RDONLY, fapl)) < 0) TEST_ERROR
|
||||
|
||||
/* Check the H5Iget_name does not return an error for anon committed datatypes */
|
||||
if((dtype_anon = H5Oopen_by_addr(file2_id, oinfo.addr)) < 0) TEST_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user