From 08a8202eda7a79495a6d48f6be2c0b114e11750f Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Thu, 12 Jul 2018 14:31:02 -0500 Subject: Vailin's fix for H5open fail when file doesn't have write permissions for user in test_misc33(). The test file can be opened read-only because the test doesn't write to it. --- 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