summaryrefslogtreecommitdiffstats
path: root/test/vds.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-06-16 17:02:35 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-06-16 17:02:35 (GMT)
commit4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e (patch)
tree8721d0bd5f680da3dbb7d15ba33155a3f094ed20 /test/vds.c
parent4117cfe2b9e19a79e00c5176f354f906235f1b80 (diff)
downloadhdf5-4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e.zip
hdf5-4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e.tar.gz
hdf5-4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e.tar.bz2
[svn-r27214] Fixed a bug on Windows where dcpls were set to be chunked and not virtual. This was due to a simple copy-paste issue in the initializer that is used when C99 initializers are not available.
Also fixed a dims array size error in the vds test. Tested on: 64-bit Win7 with VS2013
Diffstat (limited to 'test/vds.c')
-rw-r--r--test/vds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/vds.c b/test/vds.c
index 08df7ef..f39136d 100644
--- a/test/vds.c
+++ b/test/vds.c
@@ -1001,12 +1001,11 @@ test_basic_io(unsigned config, hid_t fapl)
hid_t memspace = -1; /* Memory dataspace */
hid_t srcdset[4] = {-1, -1, -1, -1}; /* Source datsets */
hid_t vdset = -1; /* Virtual dataset */
- hsize_t dims[2] = {10, 26}; /* Data space current size */
+ hsize_t dims[4] = {10, 26, -1, -1}; /* Data space current size */
hsize_t start[4]; /* Hyperslab start */
hsize_t stride[4]; /* Hyperslab stride */
hsize_t count[4]; /* Hyperslab count */
hsize_t block[4]; /* Hyperslab block */
- hsize_t coord[10]; /* Point selection array */
int buf[10][26]; /* Write and expected read buffer */
int rbuf[10][26]; /* Read buffer */
int rbuf99[9][9]; /* 9x9 Read buffer */