summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-04-09 15:57:01 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-04-09 15:57:01 (GMT)
commit5619a9a119262d0b417a5a5d21fa3268d38f8e8e (patch)
tree9ff2232546b1cae3ff1e7a32c567653c1a8c77cd
parent7f06904d28034b9f17b1cfc5f60e1d56fc89d9bd (diff)
downloadhdf5-5619a9a119262d0b417a5a5d21fa3268d38f8e8e.zip
hdf5-5619a9a119262d0b417a5a5d21fa3268d38f8e8e.tar.gz
hdf5-5619a9a119262d0b417a5a5d21fa3268d38f8e8e.tar.bz2
[svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype.
Tested: jam (using split virtual driver)
-rw-r--r--test/getname.c2
1 files changed, 1 insertions, 1 deletions
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