summaryrefslogtreecommitdiffstats
path: root/test/theap.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-07 19:23:41 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-07 19:23:41 (GMT)
commit0d050fcd579bf1db6db2d8a1d3fec617114bfd1f (patch)
tree47a291365f2bce451999105f90a19f4c5ab97866 /test/theap.c
parenta905a3a1e343d4507049c30512842957e2f6307c (diff)
downloadhdf5-0d050fcd579bf1db6db2d8a1d3fec617114bfd1f.zip
hdf5-0d050fcd579bf1db6db2d8a1d3fec617114bfd1f.tar.gz
hdf5-0d050fcd579bf1db6db2d8a1d3fec617114bfd1f.tar.bz2
[svn-r16] ./src/test/Makefile
Added new files ./test/testhdf5.c ./test/testhdf5.h Added calls for object header testing. ./test/theap.c Turned off some output.
Diffstat (limited to 'test/theap.c')
-rw-r--r--test/theap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/theap.c b/test/theap.c
index 41a9cbc..0ab60f5 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -58,12 +58,11 @@ test_heap (void)
CHECK (f, NULL, "H5Aatom_object");
/* Create a new heap */
- heap = H5H_new (f, 0);
+ heap = H5H_new (f, H5H_LOCAL, 0);
CHECK_I (heap, "H5H_new");
/* Add stuff to the heap */
for (i=0; i<NOBJS; i++) {
- fprintf (stderr, "%d\n", i);
sprintf (buf, "%03d-", i);
for (j=4; j<i; j++) buf[j] = '0' + j%10;
if (j>4) buf[j] = '\0';
@@ -78,7 +77,7 @@ test_heap (void)
/* Read the objects back out */
for (i=0; i<NOBJS; i++) {
s = H5H_peek (f, heap, obj[i]);
- print_func ("object is `%s'\n", s);
+ MESSAGE (8, print_func ("object is `%s'\n", s););
}
/* Close the file */