From 5619a9a119262d0b417a5a5d21fa3268d38f8e8e Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Thu, 9 Apr 2015 10:57:01 -0500 Subject: [svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype. Tested: jam (using split virtual driver) --- test/getname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/getname.c b/test/getname.c index a73bb78..dc1ddbe 100644 --- a/test/getname.c +++ b/test/getname.c @@ -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 -- cgit v0.12