diff options
Diffstat (limited to 'test/tattr.c')
-rw-r--r-- | test/tattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tattr.c b/test/tattr.c index 86843d1..a6e56a9 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -1527,7 +1527,7 @@ test_attr_dtype_shared(hid_t fapl) /* Get size of file */ empty_filesize=h5_get_file_size(FILENAME); - if(empty_filesize==0) + if(empty_filesize<0) TestErrPrintf("Line %d: file size wrong!\n",__LINE__); /* Re-open file */ |