mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
parent
cbf1f8dbb5
commit
ec80e5939f
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user