summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-29 22:23:22 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-29 22:23:22 (GMT)
commitec80e5939f28d1a9ffe5df5d437ebd239d7691a0 (patch)
tree5dbc5c2f5f586d323002f2fa5c9dbc641d9428b5 /test
parentcbf1f8dbb5bebca21959d0eb8bb93100648b8c95 (diff)
downloadhdf5-ec80e5939f28d1a9ffe5df5d437ebd239d7691a0.zip
hdf5-ec80e5939f28d1a9ffe5df5d437ebd239d7691a0.tar.gz
hdf5-ec80e5939f28d1a9ffe5df5d437ebd239d7691a0.tar.bz2
[svn-r56] ./test/tohdr.c
Testing H5O_remove() and H5O_load(). ./test/tstab.c Uncommented call to H5O_read() since H5O_remove() is implemented now.
Diffstat (limited to 'test')
-rw-r--r--test/tohdr.c7
-rw-r--r--test/tstab.c2
2 files changed, 5 insertions, 4 deletions
diff --git a/test/tohdr.c b/test/tohdr.c
index 5e192e9..2fd8279 100644
--- a/test/tohdr.c
+++ b/test/tohdr.c
@@ -163,9 +163,12 @@ test_ohdr (void)
VERIFY (status, 42+i, "H5O_modify");
H5AC_flush (f, NULL, 0, TRUE);
}
-
-
+ /*
+ * Delete all symbol table messages.
+ */
+ status = H5O_remove (f, oh, NULL, NULL, H5O_STAB, H5O_ALL);
+ CHECK_I (status, "H5O_remove");
/* close the file */
H5Fclose (fid);
diff --git a/test/tstab.c b/test/tstab.c
index 47beae7..6165405 100644
--- a/test/tstab.c
+++ b/test/tstab.c
@@ -196,11 +196,9 @@ test_1 (void)
CHECK_I (status, "H5G_find");
VERIFY (ent2.header, ent.header, "H5G_find");
-#if 0 /* H5O_remove() is not implemented yet */
/* the first object should not have a name message */
status_ptr = H5O_read (f, ent.header, &ent, H5O_NAME, 0, &name_mesg);
VERIFY (status_ptr, NULL, "H5O_read [didn't fail but should have]");
-#endif
/* close the file */
H5Fclose (fid);