diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2018-12-27 18:33:32 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2018-12-27 18:33:32 (GMT) |
commit | 29497cc4e1cfaaf0bce7d1234fdd0b847f4194b6 (patch) | |
tree | c5135a8c18eec92e05d1189f7c8de7ad2efdb794 /test/gen_plist.c | |
parent | b2afa88fa0c17026d52f582cc052bd40a8cd8e59 (diff) | |
parent | 1cc890e333a2563195eeea6154fd921221c3c439 (diff) | |
download | hdf5-29497cc4e1cfaaf0bce7d1234fdd0b847f4194b6.zip hdf5-29497cc4e1cfaaf0bce7d1234fdd0b847f4194b6.tar.gz hdf5-29497cc4e1cfaaf0bce7d1234fdd0b847f4194b6.tar.bz2 |
Merge branch 'develop' into dset_ohdr_minimize
Diffstat (limited to 'test/gen_plist.c')
-rw-r--r-- | test/gen_plist.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/gen_plist.c b/test/gen_plist.c index d8096e3..68da6cc 100644 --- a/test/gen_plist.c +++ b/test/gen_plist.c @@ -366,9 +366,6 @@ main(void) if((ret = H5Pset_mdc_image_config(fapl1, &my_cache_image_config)) < 0) assert(ret > 0); - if((ret = H5Pset_core_write_tracking(fapl1, TRUE, (size_t)(1024 * 1024))) < 0) - assert(ret > 0); - if((ret = encode_plist(fapl1, little_endian, word_length, "testfiles/plist_files/fapl_")) < 0) assert(ret > 0); @@ -479,7 +476,7 @@ encode_plist(hid_t plist_id, int little_endian, int word_length, const char *fil HDassert(ret > 0); fd = HDopen(filename, O_RDWR | O_CREAT | O_TRUNC, H5_POSIX_CREATE_MODE_RW); - HDassert(fd > 0); + HDassert(fd >= 0); write_size = HDwrite(fd, temp_buf, temp_size); HDassert(write_size == (ssize_t)temp_size); |