summaryrefslogtreecommitdiffstats
path: root/test/tstab.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-15 16:53:11 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-15 16:53:11 (GMT)
commitbcbe95cad006f0c72b0eeadf0eeaf82629145f6b (patch)
treef8ab84e769b0e0f9cb40393655d71ead9147464f /test/tstab.c
parentbc2b9d9dea6271a46cdfb12913d73d0cd7675607 (diff)
downloadhdf5-bcbe95cad006f0c72b0eeadf0eeaf82629145f6b.zip
hdf5-bcbe95cad006f0c72b0eeadf0eeaf82629145f6b.tar.gz
hdf5-bcbe95cad006f0c72b0eeadf0eeaf82629145f6b.tar.bz2
[svn-r36] ./test/testhdf5.c
./test/testhdf5.h ./test/tfile.c ./test/theap.c ./test/tmeta.c ./test/tohdr.c ./test/tstab.c Fixed include files. ./test/Makefile.in NEW ./test/Makefile Removed Makefile; it is now generated from Makefile.in by configure.
Diffstat (limited to 'test/tstab.c')
-rw-r--r--test/tstab.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/tstab.c b/test/tstab.c
index 81f8287..732e93a 100644
--- a/test/tstab.c
+++ b/test/tstab.c
@@ -14,12 +14,13 @@
*
*-------------------------------------------------------------------------
*/
-#include "testhdf5.h"
+#include <testhdf5.h>
-#include "H5ACprivate.h"
-#include "H5Fprivate.h"
-#include "H5Gprivate.h"
-#include "H5Oprivate.h"
+#include <H5private.h>
+#include <H5ACprivate.h>
+#include <H5Fprivate.h>
+#include <H5Gprivate.h>
+#include <H5Oprivate.h>
/*-------------------------------------------------------------------------
@@ -65,7 +66,7 @@ test_stab (void)
* Create a directory that has so many entries that the root
* of the B-tree ends up splitting.
*/
- status = H5G_new (f, NULL, NULL, "/big", nsyms*10+2, &cwd);
+ status = H5G_new (f, NULL, NULL, "/big", nsyms*12+2, &cwd);
CHECK_I (status, "H5G_new");
addr = H5G_stab_new (f, &sub, 0);
CHECK_I (addr, "H5G_stab_new");
@@ -73,7 +74,7 @@ test_stab (void)
for (i=0; i<nsyms; i++) {
- sprintf (name, "sub%05d", i);
+ sprintf (name, "%05d%05d", rand()%100000, i);
MESSAGE (8, print_func ("%s\n", name););
#if 1
status = H5G_insert (f, &cwd, NULL, name, &sub);