summaryrefslogtreecommitdiffstats
path: root/test/dangle.c
diff options
context:
space:
mode:
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 */