summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-06-14 23:07:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-06-14 23:07:03 (GMT)
commitd3396a79532601bf22e385f94b12e55dfb2c3bd0 (patch)
treededf3566ea2ebf40c2d7475e8a50a3f2f0d57774 /test
parent7a9e13afdb134bafc070cf8bd2087a84fd0d2334 (diff)
downloadhdf5-d3396a79532601bf22e385f94b12e55dfb2c3bd0.zip
hdf5-d3396a79532601bf22e385f94b12e55dfb2c3bd0.tar.gz
hdf5-d3396a79532601bf22e385f94b12e55dfb2c3bd0.tar.bz2
[svn-r30075] Description:
Bring object/dataset/group/named datatype features from revise_chunks branch to trunk. Also CMake support for h5format_convert and a bunch of misc. cleanups. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
Diffstat (limited to 'test')
-rw-r--r--test/cork.c8
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