summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-20 01:34:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-20 01:34:55 (GMT)
commitf136245a4f6fe494d1181cf12fed9da226692568 (patch)
tree772a9d9cf28522c6291a19c0259fee629b403929 /test
parentd7e8828f70bcc1395e8511e8198d2bacab8f9661 (diff)
downloadhdf5-f136245a4f6fe494d1181cf12fed9da226692568.zip
hdf5-f136245a4f6fe494d1181cf12fed9da226692568.tar.gz
hdf5-f136245a4f6fe494d1181cf12fed9da226692568.tar.bz2
[svn-r21127] Description:
Correct to use correct FAPL, to fix error when running 'make check-vfd' Tested on: Linux/64 2.6 (koala) w/make check-vfd
Diffstat (limited to 'test')
-rw-r--r--test/dtypes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 601b46a..5ca7f9f 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -6756,8 +6756,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
@@ -6776,8 +6776,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