[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:
HDF Tester 2007-06-19 10:22:05 -05:00
parent 41cddd1258
commit 8eb2e41a43

View File

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