From ec80e5939f28d1a9ffe5df5d437ebd239d7691a0 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Fri, 29 Aug 1997 17:23:22 -0500 Subject: [PATCH] [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. --- test/tohdr.c | 7 +++++-- test/tstab.c | 2 -- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/tohdr.c b/test/tohdr.c index 5e192e9ba4..2fd827904b 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 47beae70cb..6165405d2b 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);