summaryrefslogtreecommitdiffstats
path: root/test/dangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dangle.c')
-rw-r--r--test/dangle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/dangle.c b/test/dangle.c
index 5086937..a751414 100644
--- a/test/dangle.c
+++ b/test/dangle.c
@@ -117,7 +117,7 @@ test_dangle_dataset(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if(h5_get_file_size(filename)==0)
+ if(h5_get_file_size(filename)<0)
TEST_ERROR;
/* Clean up temporary file */
@@ -210,7 +210,7 @@ test_dangle_group(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if(h5_get_file_size(filename)==0)
+ if(h5_get_file_size(filename)<0)
TEST_ERROR;
/* Clean up temporary file */
@@ -307,7 +307,7 @@ test_dangle_datatype1(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if(h5_get_file_size(filename)==0)
+ if(h5_get_file_size(filename)<0)
TEST_ERROR;
/* Clean up temporary file */
@@ -394,7 +394,7 @@ test_dangle_datatype2(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if(h5_get_file_size(filename)==0)
+ if(h5_get_file_size(filename)<0)
TEST_ERROR;
/* Clean up temporary file */
@@ -502,7 +502,7 @@ test_dangle_attribute(H5F_close_degree_t degree)
if(H5close()<0)
TEST_ERROR;
- if(h5_get_file_size(filename)==0)
+ if(h5_get_file_size(filename)<0)
TEST_ERROR;
/* Clean up temporary file */