summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c4
-rw-r--r--test/theap.c2
-rw-r--r--test/tohdr.c2
-rw-r--r--test/tstab.c12
4 files changed, 9 insertions, 11 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 5d32925..d7ba2d6 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -249,9 +249,9 @@ static void test_file_open(void)
/* Output message about test being performed */
MESSAGE(5, ("Testing Low-Level File Opening I/O\n"));
- /* Open second file */
+ /* Open first file */
fid1=H5Fopen(FILE2,H5ACC_WRITE,0);
- CHECK(fid1,FAIL,"H5Fooen");
+ CHECK(fid1,FAIL,"H5Fopen");
/* Get the file-creation template */
tmpl1=H5Fget_create_template(fid1);
diff --git a/test/theap.c b/test/theap.c
index fd2467b..1dc38e1 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -44,7 +44,7 @@ test_heap (void)
{
int i, j;
hid_t fid;
- hdf5_file_t *f;
+ H5F_t *f;
off_t heap;
char buf[NOBJS+8];
const char *s;
diff --git a/test/tohdr.c b/test/tohdr.c
index 890b307..c8da399 100644
--- a/test/tohdr.c
+++ b/test/tohdr.c
@@ -48,7 +48,7 @@ void
test_ohdr (void)
{
hid_t fid;
- hdf5_file_t *f;
+ H5F_t *f;
haddr_t oh;
H5O_stab_t stab, ro;
herr_t status;
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;