summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHDF Tester <hdftest@hdfgroup.org>2007-06-19 15:22:05 (GMT)
committerHDF Tester <hdftest@hdfgroup.org>2007-06-19 15:22:05 (GMT)
commit8eb2e41a43dd5cee68c42079d46296fca3f633d1 (patch)
tree764e41169b472c8341c92e4b6ad8f2745cfd0f2c /test
parent41cddd12585a1608fdfb55d96ea1cfd542db1f9f (diff)
downloadhdf5-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.c2
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 */