mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-06 17:20:42 +08:00
[svn-r13879] Purpose:
Bug fix. Description: Test test_misc25b() open an existing test data file with RDWR unnecessarily. (This was discovered during read-only test.) Changed file open mode to RDONLY. Tested platform: Kagiso (readonly) only since it is a trivial change.
This commit is contained in:
parent
41cddd1258
commit
8eb2e41a43
@ -4581,7 +4581,7 @@ test_misc25b(void)
|
||||
HDstrcat(testfile, MISC25B_FILE);
|
||||
|
||||
/* Open file */
|
||||
fid = H5Fopen(testfile, H5F_ACC_RDWR, H5P_DEFAULT);
|
||||
fid = H5Fopen(testfile, H5F_ACC_RDONLY, H5P_DEFAULT);
|
||||
CHECK(fid, FAIL, "H5Fopen");
|
||||
|
||||
/* Re-open group with object header messages that will merge */
|
||||
|
Loading…
x
Reference in New Issue
Block a user