diff options
Diffstat (limited to 'test/cork.c')
-rw-r--r-- | test/cork.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cork.c b/test/cork.c index 8a2fc8f..95f08b5 100644 --- a/test/cork.c +++ b/test/cork.c @@ -1859,6 +1859,10 @@ test_dset_cork(hbool_t new_format) if(H5Dwrite(did1, tid1, sid, sid, H5P_DEFAULT, data) < 0) TEST_ERROR + /* Flush the dataset */ + if(H5Oflush(did1) < 0) + TEST_ERROR + /* Check cork status of the dataset */ if(H5Oare_mdc_flushes_disabled(did1, &corked) < 0) TEST_ERROR @@ -1919,6 +1923,10 @@ test_dset_cork(hbool_t new_format) if(H5Dwrite(did1, tid1, sid, sid, H5P_DEFAULT, data) < 0) TEST_ERROR + /* Refresh the dataset */ + if(H5Drefresh(did1) < 0) + TEST_ERROR + /* Check cork status of the dataset */ if(H5Oare_mdc_flushes_disabled(did1, &corked) < 0) TEST_ERROR |