diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-07-12 18:55:45 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2018-07-26 22:17:12 (GMT) |
commit | 114a63a2588a4886ebd120d3b5e90c4363a6ed78 (patch) | |
tree | d748385c5f496f3b4c1c54c9bf467992b788ee0d /test | |
parent | d79475c4822816c780bd622f73c3740024595343 (diff) | |
download | hdf5-114a63a2588a4886ebd120d3b5e90c4363a6ed78.zip hdf5-114a63a2588a4886ebd120d3b5e90c4363a6ed78.tar.gz hdf5-114a63a2588a4886ebd120d3b5e90c4363a6ed78.tar.bz2 |
Fix test_misc33() in test/tmisc.c
Open the test file read-only so that it can be accessed for testing.
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 07234e9..1e62302 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -5499,7 +5499,7 @@ test_misc33(void) MESSAGE(5, ("Testing that bad offset into the heap returns error")); /* Open the test file */ - fid = H5Fopen(testfile, H5F_ACC_RDWR, H5P_DEFAULT); + fid = H5Fopen(testfile, H5F_ACC_RDONLY, H5P_DEFAULT); CHECK(fid, FAIL, "H5Fopen"); /* Case (1) */ |