summaryrefslogtreecommitdiffstats
path: root/test/tstab.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-13 15:37:09 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-13 15:37:09 (GMT)
commit5b66a4928ea1d84f443227888512d9415621dbce (patch)
treedb5c9f75bb54de78ebfe70b7ea4bac256a458d2b /test/tstab.c
parent5cae95154903ecd6564f0712e42168892df17b7d (diff)
downloadhdf5-5b66a4928ea1d84f443227888512d9415621dbce.zip
hdf5-5b66a4928ea1d84f443227888512d9415621dbce.tar.gz
hdf5-5b66a4928ea1d84f443227888512d9415621dbce.tar.bz2
[svn-r28] ./test/tfile.c
Removed tests for H5_BTREEPAGE_SIZE and added tests for H5_SYM_LEAF_K and H5_SYM_INTERN_K. ./test/tstab.c Removed call to H5O_link() since it's handled by H5G_insert().
Diffstat (limited to 'test/tstab.c')
-rw-r--r--test/tstab.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/tstab.c b/test/tstab.c
index 7dddc6c..81f8287 100644
--- a/test/tstab.c
+++ b/test/tstab.c
@@ -44,6 +44,7 @@ test_stab (void)
hdf5_file_t *f;
H5G_entry_t cwd, sub;
int i;
+ haddr_t addr;
char name[256];
herr_t status;
int nsyms = 5000;
@@ -66,12 +67,12 @@ test_stab (void)
*/
status = H5G_new (f, NULL, NULL, "/big", nsyms*10+2, &cwd);
CHECK_I (status, "H5G_new");
- H5G_stab_new (f, &sub, 0);
- status = H5O_link (f, sub.header, &sub, nsyms-1);
- CHECK_I (status, "H5O_link");
+ addr = H5G_stab_new (f, &sub, 0);
+ CHECK_I (addr, "H5G_stab_new");
+ MESSAGE (8, print_func ("Address %lu\n", (unsigned long)addr););
- for (i=0; i<5000; i++) {
+ for (i=0; i<nsyms; i++) {
sprintf (name, "sub%05d", i);
MESSAGE (8, print_func ("%s\n", name););
#if 1