summaryrefslogtreecommitdiffstats
path: root/test/dangle.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-10-09 03:52:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-10-09 03:52:46 (GMT)
commit261bbe39aac2cf13e2cd539520c3329e1df6d452 (patch)
tree0fcbcd9c19ae366fe6ac7e0216f5f753fd46117e /test/dangle.c
parent37aaef8fe09017234e163bc78f617d0676ca2072 (diff)
downloadhdf5-261bbe39aac2cf13e2cd539520c3329e1df6d452.zip
hdf5-261bbe39aac2cf13e2cd539520c3329e1df6d452.tar.gz
hdf5-261bbe39aac2cf13e2cd539520c3329e1df6d452.tar.bz2
[svn-r15826] Description:
Bring revision 15825 from trunk: Fix various problems with a the core & sec2 VFDs. Improve the h5_get_file_size() routine to handle files created with VFDs that use multiple files. Tested on: FreeBSD/32 6.3 (duty) Already tested on other machine, in trunk.
Diffstat (limited to 'test/dangle.c')
-rw-r--r--test/dangle.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/dangle.c b/test/dangle.c
index b08a5e6..2f8a67e 100644
--- a/test/dangle.c
+++ b/test/dangle.c
@@ -111,13 +111,13 @@ test_dangle_dataset(H5F_close_degree_t degree)
if(H5Fclose(fid) < 0)
TEST_ERROR;
- if(H5Pclose(fapl) < 0)
+ if(h5_get_file_size(filename, fapl) < 0)
TEST_ERROR;
- if(H5close() < 0)
+ if(H5Pclose(fapl) < 0)
TEST_ERROR;
- if(h5_get_file_size(filename) < 0)
+ if(H5close() < 0)
TEST_ERROR;
/* Clean up temporary file */
@@ -202,13 +202,13 @@ test_dangle_group(H5F_close_degree_t degree)
if(H5Fclose(fid) < 0)
TEST_ERROR;
- if(H5Pclose(fapl) < 0)
+ if(h5_get_file_size(filename, fapl) < 0)
TEST_ERROR;
- if(H5close() < 0)
+ if(H5Pclose(fapl) < 0)
TEST_ERROR;
- if(h5_get_file_size(filename) < 0)
+ if(H5close() < 0)
TEST_ERROR;
/* Clean up temporary file */
@@ -298,13 +298,13 @@ test_dangle_datatype1(H5F_close_degree_t degree)
if(H5Fclose(fid) < 0)
TEST_ERROR;
- if(H5Pclose(fapl) < 0)
+ if(h5_get_file_size(filename, fapl) < 0)
TEST_ERROR;
- if(H5close() < 0)
+ if(H5Pclose(fapl) < 0)
TEST_ERROR;
- if(h5_get_file_size(filename) < 0)
+ if(H5close() < 0)
TEST_ERROR;
/* Clean up temporary file */
@@ -385,13 +385,13 @@ test_dangle_datatype2(H5F_close_degree_t degree)
if(H5Fclose(fid) < 0)
TEST_ERROR;
- if(H5Pclose(fapl) < 0)
+ if(h5_get_file_size(filename, fapl) < 0)
TEST_ERROR;
- if(H5close() < 0)
+ if(H5Pclose(fapl) < 0)
TEST_ERROR;
- if(h5_get_file_size(filename) < 0)
+ if(H5close() < 0)
TEST_ERROR;
/* Clean up temporary file */
@@ -492,13 +492,13 @@ test_dangle_attribute(H5F_close_degree_t degree)
if(H5Fclose(fid) < 0)
TEST_ERROR;
- if(H5Pclose(fapl) < 0)
+ if(h5_get_file_size(filename, fapl) < 0)
TEST_ERROR;
- if(H5close() < 0)
+ if(H5Pclose(fapl) < 0)
TEST_ERROR;
- if(h5_get_file_size(filename) < 0)
+ if(H5close() < 0)
TEST_ERROR;
/* Clean up temporary file */