summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2015-08-21 18:52:30 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2015-08-21 18:52:30 (GMT)
commit7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949 (patch)
treedf01935167a5d011693bb791e582b60f375669d7 /test/tfile.c
parent1b2b0bd5a30cbc4227457abd08f563a8fd8c8b68 (diff)
downloadhdf5-7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949.zip
hdf5-7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949.tar.gz
hdf5-7ce2d52cf69f6f6477e0f16e9d85d67cc54d5949.tar.bz2
[svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 52c8fd9..d8bcd54 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 */
- hbool_t new_format; /* new format or old format */
+ unsigned 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(ret, FAIL, "H5Fcreate");
+ CHECK(fid1, 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(ret, FAIL, "H5Fopen");
+ CHECK(fid2, FAIL, "H5Fopen");
/* Get the file's creation property */
fcpl2 = H5Fget_create_plist(fid2);