diff options
author | HDF Tester <hdftest@hdfgroup.org> | 2007-06-22 20:17:37 (GMT) |
---|---|---|
committer | HDF Tester <hdftest@hdfgroup.org> | 2007-06-22 20:17:37 (GMT) |
commit | 7b2a3aa3fd56559e8b57d6f7113ef4acc9882b46 (patch) | |
tree | d72f2036e3f7018bb4fcb49bf44c3aab4bbf82c0 /test | |
parent | 556c685c294c7aaf110360feeda4d96efef839dc (diff) | |
download | hdf5-7b2a3aa3fd56559e8b57d6f7113ef4acc9882b46.zip hdf5-7b2a3aa3fd56559e8b57d6f7113ef4acc9882b46.tar.gz hdf5-7b2a3aa3fd56559e8b57d6f7113ef4acc9882b46.tar.bz2 |
[svn-r13898] 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.
Diffstat (limited to 'test')
-rw-r--r-- | test/tmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tmisc.c b/test/tmisc.c index ae03d6d..88c9ea2 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -4170,7 +4170,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 */ |