diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2015-08-21 22:44:22 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2015-08-21 22:44:22 (GMT) |
commit | ab7d724ffd5749c1e3666fd1be0b92f41613af1e (patch) | |
tree | f3e820daa24477263f5fc3efd43bf459865f260b /test/tfile.c | |
parent | 7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949 (diff) | |
download | hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.zip hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.tar.gz hdf5-ab7d724ffd5749c1e3666fd1be0b92f41613af1e.tar.bz2 |
[svn-r27548] Revert r27545
Diffstat (limited to 'test/tfile.c')
-rw-r--r-- | test/tfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tfile.c b/test/tfile.c index d8bcd54..52c8fd9 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -3049,7 +3049,7 @@ test_filespace_info(void) char filename[FILENAME_LEN]; /* Filename to use */ H5F_file_space_type_t strategy, fs_type, def_type; /* File space handling strategy */ hsize_t threshold, fs_size, def_size; /* Free space section threshold */ - unsigned new_format; /* new format or old format */ + hbool_t new_format; /* new format or old format */ herr_t ret; /* return value */ /* Output message about test being performed */ @@ -3112,7 +3112,7 @@ test_filespace_info(void) /* Create the file with the specified file space info */ fid1 = H5Fcreate(filename, H5F_ACC_TRUNC, fcpl1, my_fapl); - CHECK(fid1, FAIL, "H5Fcreate"); + CHECK(ret, FAIL, "H5Fcreate"); /* Close the file */ ret = H5Fclose(fid1); @@ -3120,7 +3120,7 @@ test_filespace_info(void) /* Re-open the file */ fid2 = H5Fopen(filename, H5F_ACC_RDWR, my_fapl); - CHECK(fid2, FAIL, "H5Fopen"); + CHECK(ret, FAIL, "H5Fopen"); /* Get the file's creation property */ fcpl2 = H5Fget_create_plist(fid2); |