Fix test_misc33() in test/tmisc.c

Open the test file read-only so that it can be accessed for testing.
This commit is contained in:
Vailin Choi 2018-07-12 13:55:45 -05:00
parent d1f8ac3312
commit f369590a10

View File

@ -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) */