[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.
This commit is contained in:
Robb Matzke 1997-08-29 17:23:22 -05:00
parent cbf1f8dbb5
commit ec80e5939f
2 changed files with 5 additions and 4 deletions

View File

@ -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);

View File

@ -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);