summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-20 01:54:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-20 01:54:36 (GMT)
commit5226ae644937873a75762f723af0ba42095d7586 (patch)
treeb814c4e8fde1a625d3deb66d8d1c08f896ed0b38 /test/dtypes.c
parent99992db34d0384895abfd8aeeb5b2d5202a91c07 (diff)
downloadhdf5-5226ae644937873a75762f723af0ba42095d7586.zip
hdf5-5226ae644937873a75762f723af0ba42095d7586.tar.gz
hdf5-5226ae644937873a75762f723af0ba42095d7586.tar.bz2
[svn-r21128] Description:
Bring r21127 from trunk to 1.8 branch: Correct to use correct FAPL, to fix error when running 'make check-vfd' Tested on: Linux/64 2.6 (koala) w/make check-vfd FreeBSD/32 8.2 (loyalty) w/debug (h5committested on trunk)
Diffstat (limited to 'test/dtypes.c')
-rw-r--r--test/dtypes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 184cbf7..2f73627 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -6757,8 +6757,8 @@ test_delete_obj_named(hid_t fapl)
create_del_obj_named_test_file(filename, fapl, new_format);
/* Test deleting dataset opened through different file ID */
- if((filea1 = H5Fopen(filename, H5F_ACC_RDWR, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
- if((filea2 = H5Fopen(filename, H5F_ACC_RDWR, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
+ if((filea1 = H5Fopen(filename, H5F_ACC_RDWR, fapl)) < 0) FAIL_STACK_ERROR
+ if((filea2 = H5Fopen(filename, H5F_ACC_RDWR, fapl)) < 0) FAIL_STACK_ERROR
if((dset = H5Dopen2(filea1, DEL_OBJ_NAMED_DATASET, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
if(H5Dclose(dset) < 0) FAIL_STACK_ERROR
@@ -6777,8 +6777,8 @@ test_delete_obj_named(hid_t fapl)
create_del_obj_named_test_file(filename, fapl, new_format);
/* Test deleting attribute opened through different file ID */
- if((filea1 = H5Fopen(filename, H5F_ACC_RDWR, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
- if((filea2 = H5Fopen(filename, H5F_ACC_RDWR, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
+ if((filea1 = H5Fopen(filename, H5F_ACC_RDWR, fapl)) < 0) FAIL_STACK_ERROR
+ if((filea2 = H5Fopen(filename, H5F_ACC_RDWR, fapl)) < 0) FAIL_STACK_ERROR
if((attr = H5Aopen_by_name(filea1, DEL_OBJ_NAMED_DATASET, DEL_OBJ_NAMED_ATTRIBUTE, H5P_DEFAULT, H5P_DEFAULT)) < 0) FAIL_STACK_ERROR
if(H5Aclose(attr) < 0) FAIL_STACK_ERROR