summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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);