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.
1 parent c5bbe9e commit 9457bb9Copy full SHA for 9457bb9
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