From 8eb2e41a43dd5cee68c42079d46296fca3f633d1 Mon Sep 17 00:00:00 2001 From: HDF Tester Date: Tue, 19 Jun 2007 10:22:05 -0500 Subject: [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. --- test/tmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12