summaryrefslogtreecommitdiffstats
path: root/test/tstab.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-09-24 16:30:22 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-09-24 16:30:22 (GMT)
commit0f7fcaad25171bd5d4eb8f822d88b5770d9b235d (patch)
tree0e187af66ca6ec2036d56a882133008f46d78fb2 /test/tstab.c
parent8a4d8a5b0c7e473566ae9347ac228eaea0490875 (diff)
downloadhdf5-0f7fcaad25171bd5d4eb8f822d88b5770d9b235d.zip
hdf5-0f7fcaad25171bd5d4eb8f822d88b5770d9b235d.tar.gz
hdf5-0f7fcaad25171bd5d4eb8f822d88b5770d9b235d.tar.bz2
[svn-r111] Changed hdf5_file_t to H5F_t, split data struct ito two halves, fixed
problems when opening the same file more than once.
Diffstat (limited to 'test/tstab.c')
-rw-r--r--test/tstab.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/tstab.c b/test/tstab.c
index 945f0cf..652029f 100644
--- a/test/tstab.c
+++ b/test/tstab.c
@@ -50,7 +50,7 @@ static void
test_1 (void)
{
hid_t fid;
- hdf5_file_t *f;
+ H5F_t *f;
H5G_entry_t *obj1=NULL, *obj2=NULL;
H5G_entry_t ent1, dir_ent;
herr_t status;
@@ -91,7 +91,7 @@ test_1 (void)
/* is it really the root symbol? */
VERIFY (dir_ent.header, 0, "H5G_insert");
- VERIFY (obj1->header, f->root_sym->header, "H5G_insert");
+ VERIFY (obj1->header, f->shared->root_sym->header, "H5G_insert");
@@ -158,7 +158,7 @@ test_1 (void)
/* is it really the root symbol? */
VERIFY (dir_ent.header, 0, "H5G_insert");
- VERIFY (obj1->header, f->root_sym->header, "H5G_insert");
+ VERIFY (obj1->header, f->shared->root_sym->header, "H5G_insert");
/* now as `/foo' */
HDmemset (&dir_ent, 0, sizeof(H5G_entry_t));
@@ -170,7 +170,7 @@ test_1 (void)
/* is it really the root symbol? */
VERIFY (dir_ent.header, 0, "H5G_insert");
- VERIFY (obj1->header, f->root_sym->header, "H5G_insert");
+ VERIFY (obj1->header, f->shared->root_sym->header, "H5G_insert");
@@ -224,11 +224,9 @@ static void
test_2 (void)
{
hid_t fid;
- hdf5_file_t *f;
- H5G_entry_t cwd, sub;
+ H5F_t *f;
H5G_entry_t *obj1=NULL;
int i;
- haddr_t addr;
char name[256];
herr_t status;
int nsyms = 5000;