diff options
author | HDF Tester <hdftest@hdfgroup.org> | 2007-06-19 15:22:05 (GMT) |
---|---|---|
committer | HDF Tester <hdftest@hdfgroup.org> | 2007-06-19 15:22:05 (GMT) |
commit | 8eb2e41a43dd5cee68c42079d46296fca3f633d1 (patch) | |
tree | 764e41169b472c8341c92e4b6ad8f2745cfd0f2c /test | |
parent | 41cddd12585a1608fdfb55d96ea1cfd542db1f9f (diff) | |
download | hdf5-8eb2e41a43dd5cee68c42079d46296fca3f633d1.zip hdf5-8eb2e41a43dd5cee68c42079d46296fca3f633d1.tar.gz hdf5-8eb2e41a43dd5cee68c42079d46296fca3f633d1.tar.bz2 |
[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.
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 f55028b..b862b1c 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -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 */ |