We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5bbe9e + 9457bb9 commit 4dc989dCopy full SHA for 4dc989d
src/parse_options.c
@@ -122,8 +122,10 @@ static void CheckRunSettings(IOR_test_t *tests)
122
&& (params->openFlags & IOR_RDWR)) {
123
124
params->openFlags &= ~(IOR_RDWR);
125
- if (params->readFile | params->checkRead)
+ if (params->readFile | params->checkRead) {
126
params->openFlags |= IOR_RDONLY;
127
+ params->openFlags &= ~(IOR_CREAT|IOR_EXCL);
128
+ }
129
else
130
params->openFlags |= IOR_WRONLY;
131
}
0 commit comments