From 114a63a2588a4886ebd120d3b5e90c4363a6ed78 Mon Sep 17 00:00:00 2001 From: Vailin Choi Date: Thu, 12 Jul 2018 13:55:45 -0500 Subject: Fix test_misc33() in test/tmisc.c Open the test file read-only so that it can be accessed for testing. --- test/tmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tmisc.c b/test/tmisc.c index 07234e9..1e62302 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -5499,7 +5499,7 @@ test_misc33(void) MESSAGE(5, ("Testing that bad offset into the heap returns error")); /* Open the test file */ - fid = H5Fopen(testfile, H5F_ACC_RDWR, H5P_DEFAULT); + fid = H5Fopen(testfile, H5F_ACC_RDONLY, H5P_DEFAULT); CHECK(fid, FAIL, "H5Fopen"); /* Case (1) */ -- cgit v0.12