diff options
Diffstat (limited to 'test/tfile.c')
-rw-r--r-- | test/tfile.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c index cd87fdd..d2ff1c3 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -1034,7 +1034,11 @@ test_file_freespace(void) /* Check that there is the right amount of free space in the file */ free_space = H5Fget_freespace(file); CHECK(free_space, FAIL, "H5Fget_freespace"); +#ifdef H5_HAVE_LARGE_HSIZET VERIFY(free_space, 168, "H5Fget_freespace"); +#else /* H5_HAVE_LARGE_HSIZET */ + VERIFY(free_space, 76, "H5Fget_freespace"); +#endif /* H5_HAVE_LARGE_HSIZET */ /* Delete datasets in file */ for(u=0; u<10; u++) { @@ -1046,7 +1050,11 @@ test_file_freespace(void) /* Check that there is the right amount of free space in the file */ free_space = H5Fget_freespace(file); CHECK(free_space, FAIL, "H5Fget_freespace"); +#ifdef H5_HAVE_LARGE_HSIZET VERIFY(free_space, 3584, "H5Fget_freespace"); +#else /* H5_HAVE_LARGE_HSIZET */ + VERIFY(free_space, 3428, "H5Fget_freespace"); +#endif /* H5_HAVE_LARGE_HSIZET */ /* Close file */ ret = H5Fclose(file); |