summaryrefslogtreecommitdiffstats
path: root/test/th5d.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-09-15 19:28:06 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-09-15 19:28:06 (GMT)
commit85449cbd18892378004e0a1fc2f88483813d8403 (patch)
tree6d1e02873cc36d3f42b8236dc2cc570245b5f935 /test/th5d.c
parent8656a64d002335cdb40b846dd8eb9013cc295226 (diff)
downloadhdf5-85449cbd18892378004e0a1fc2f88483813d8403.zip
hdf5-85449cbd18892378004e0a1fc2f88483813d8403.tar.gz
hdf5-85449cbd18892378004e0a1fc2f88483813d8403.tar.bz2
[svn-r84] Arg sizes fixes in tfile.c
Name change in th5d.c
Diffstat (limited to 'test/th5d.c')
-rw-r--r--test/th5d.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/th5d.c b/test/th5d.c
index eb074dc..b977ce7 100644
--- a/test/th5d.c
+++ b/test/th5d.c
@@ -81,12 +81,10 @@ static void test_h5d_basic_write(void)
hatom_t tid1; /* Datatype ID */
hatom_t sid1; /* Dataspace ID */
uint32 dims1[]={SPACE1_DIM1,SPACE1_DIM2,SPACE1_DIM3}; /* dataspace dim sizes */
-#ifdef DATASET2
hatom_t did2; /* Dataset ID */
hatom_t tid2; /* Datatype ID */
hatom_t sid2; /* Dataspace ID */
uint32 dims2[]={SPACE2_DIM1,SPACE2_DIM2,SPACE2_DIM3,SPACE2_DIM4}; /* dataspace dim sizes */
-#endif /* DATASET2 */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -123,7 +121,6 @@ static void test_h5d_basic_write(void)
ret=H5Mrelease(tid1);
CHECK(ret,FAIL,"H5Mrelease");
-#ifdef DATASET2
sid2=H5Mcreate(fid1,H5_DATASPACE,SPACE2_NAME);
CHECK(sid1,FAIL,"H5Mcreate");
@@ -153,7 +150,6 @@ static void test_h5d_basic_write(void)
ret=H5Mrelease(sid2);
CHECK(ret,FAIL,"H5Mrelease");
-#endif /* DATASET2 */
ret=H5Mrelease(sid1);
CHECK(ret,FAIL,"H5Mrelease");
@@ -189,7 +185,7 @@ static void test_h5d_basic_read(void)
fid1=H5Fopen(FILE,0,0);
CHECK(fid1,FAIL,"H5Fopen");
- oid1=H5Mfind_name(fid1,H5_DATASET,SPACE1_NAME);
+ oid1=H5Mfind_name(fid1,H5_DATASET,DATA1_NAME);
CHECK(oid1,FAIL,"H5Mfind_name");
did1=H5Maccess(oid1);