mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
Re-format test/ohdr_mindset.c
Fix a few transcription errors in other test files.
This commit is contained in:
parent
8e4b34afd0
commit
61350bf350
@ -826,7 +826,7 @@ test_compact_io(hid_t fapl)
|
||||
**************************************/
|
||||
|
||||
/* Create a copy of file access property list */
|
||||
if((new_fapl = new_fapl = h5_fileaccess()) < 0) TEST_ERROR
|
||||
if((new_fapl = h5_fileaccess()) < 0) TEST_ERROR
|
||||
|
||||
/* Loop through all the combinations of low/high library format bounds,
|
||||
skipping invalid combinations.
|
||||
|
1346
test/ohdr_mindset.c
1346
test/ohdr_mindset.c
File diff suppressed because it is too large
Load Diff
@ -7180,7 +7180,7 @@ test_min_dset_ohdr(void)
|
||||
*/
|
||||
ret = H5Fget_dset_no_attrs_hint(file_id, &minimize);
|
||||
CHECK(ret, FAIL, "H5Fget_dset_no_attrs_hint");
|
||||
VERIFY(minimize, FALSE, "minimize flag);
|
||||
VERIFY(minimize, FALSE, "minimize flag");
|
||||
|
||||
/*----------------------------------------
|
||||
* TEST set to TRUE
|
||||
@ -7190,7 +7190,7 @@ test_min_dset_ohdr(void)
|
||||
|
||||
ret = H5Fget_dset_no_attrs_hint(file_id, &minimize);
|
||||
CHECK(ret, FAIL, "H5Fget_dset_no_attrs_hint");
|
||||
VERIFY(minimize, TRUE, "minimize flag);
|
||||
VERIFY(minimize, TRUE, "minimize flag");
|
||||
|
||||
/*----------------------------------------
|
||||
* TEST second file open on same filename
|
||||
@ -7248,11 +7248,11 @@ test_min_dset_ohdr(void)
|
||||
H5E_BEGIN_TRY {
|
||||
ret = H5Fget_dset_no_attrs_hint(-1, &minimize);
|
||||
} H5E_END_TRY;
|
||||
VERIFY(ret, FAIL, H5Fget_dset_no_attrs_hint);
|
||||
VERIFY(ret, FAIL, "H5Fget_dset_no_attrs_hint");
|
||||
|
||||
/* trying to get with invalid pointer */
|
||||
H5E_BEGIN_TRY {
|
||||
ret = H5Fget_dset_no_attrs_hint(file_id, NULL)
|
||||
ret = H5Fget_dset_no_attrs_hint(file_id, NULL);
|
||||
} H5E_END_TRY;
|
||||
VERIFY(ret, FAIL, "H5Fget_dset_no_attrs_hint");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user