summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2018-07-12 20:26:42 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2018-07-12 20:26:42 (GMT)
commit3d08f0010175d4482e0dcd891ec968a51aa87623 (patch)
treea9e9b75fccae8e28ce7d07075808687979eb5e2d
parentb6fcbf4bb0f693fd6a0517f0ff3f74d52b329d1e (diff)
parent08a8202eda7a79495a6d48f6be2c0b114e11750f (diff)
downloadhdf5-3d08f0010175d4482e0dcd891ec968a51aa87623.zip
hdf5-3d08f0010175d4482e0dcd891ec968a51aa87623.tar.gz
hdf5-3d08f0010175d4482e0dcd891ec968a51aa87623.tar.bz2
Merge pull request #1130 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '08a8202eda7a79495a6d48f6be2c0b114e11750f': Vailin's fix for H5open fail when file doesn't have write permissions for user in test_misc33(). The test file can be opened read-only because the test doesn't write to it.
-rw-r--r--test/tmisc.c2
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) */