mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
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.
This commit is contained in:
parent
b6fcbf4bb0
commit
08a8202eda
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user