summaryrefslogtreecommitdiffstats
path: root/test/lheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lheap.c')
-rw-r--r--test/lheap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lheap.c b/test/lheap.c
index 0d771cf..44fb615 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -40,7 +40,7 @@ const char *FILENAME[] = {
int
main(void)
{
- hid_t fapl=-1; /*file access properties */
+ hid_t fapl=H5P_DEFAULT; /*file access properties */
hid_t file=-1; /*hdf5 file */
H5F_t *f=NULL; /*hdf5 file pointer */
char filename[1024]; /*file name */
@@ -89,6 +89,7 @@ main(void)
/*
* Test reading from the heap...
*/
+
TESTING("local heap read");
h5_fixname(FILENAME[0], fapl, filename, sizeof filename);
if ((file=H5Fopen(filename, H5F_ACC_RDONLY, fapl))<0) goto error;
@@ -117,7 +118,6 @@ main(void)
if (H5Fclose(file)<0) goto error;
PASSED();
-
puts("All local heap tests passed.");
h5_cleanup(FILENAME, fapl);
return 0;