summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-10-17 23:51:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-10-17 23:51:52 (GMT)
commit01238de7a316d720465c09cc319a61f5b9d2a924 (patch)
tree0a35986166235faeb9fe9d65f1f01c5d72e4bf23 /test
parent390f07f7bb1a54adcc873a36f4d5fafce7bdd34d (diff)
downloadhdf5-01238de7a316d720465c09cc319a61f5b9d2a924.zip
hdf5-01238de7a316d720465c09cc319a61f5b9d2a924.tar.gz
hdf5-01238de7a316d720465c09cc319a61f5b9d2a924.tar.bz2
[svn-r126] Changed name of "entire dataset" paramter from H5P_SCALAR to H5P_ALL for
H5Dread/H5Dwrite
Diffstat (limited to 'test')
-rw-r--r--test/th5d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/th5d.c b/test/th5d.c
index 33d7b9e..ffec238 100644
--- a/test/th5d.c
+++ b/test/th5d.c
@@ -129,7 +129,7 @@ static void test_h5d_basic_write(void)
ret=H5Dset_info(did1,tid1,sid1);
CHECK(ret,FAIL,"H5Dset_info");
- ret=H5Dwrite(did1,H5P_SCALAR,data1);
+ ret=H5Dwrite(did1,H5P_ALL,data1);
CHECK(ret,FAIL,"H5Dwrite");
ret=H5Mrelease(did1);
@@ -157,7 +157,7 @@ static void test_h5d_basic_write(void)
ret=H5Dset_info(did2,tid2,sid2);
CHECK(ret,FAIL,"H5Dset_info");
- ret=H5Dwrite(did2,H5P_SCALAR,data2);
+ ret=H5Dwrite(did2,H5P_ALL,data2);
CHECK(ret,FAIL,"H5Dwrite");
ret=H5Mrelease(did2);
@@ -226,7 +226,7 @@ static void test_h5d_basic_read(void)
buf_size=H5Tsize(tid1,BTRUE)*n;
buf=HDmalloc(buf_size);
- ret=H5Dread(did1,H5P_SCALAR,buf);
+ ret=H5Dread(did1,H5P_ALL,buf);
CHECK(ret,FAIL,"H5Dread");
VERIFY(HDmemcmp(buf,data1,buf_size),0,"H5Dread");
HDfree(buf);