Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
Fix script handling when there are back-to-back RUN lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
morrone committed Jan 13, 2012
1 parent d35d961 commit 0665dea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/parse_options.c
Expand Up @@ -362,6 +362,12 @@ IOR_test_t *ReadConfigScript(char *scriptName)
AllocResults(tail);
break;
} else if (contains_only(linebuf, "run")) {
if (runflag) {
/* previous line was a "run" as well
create duplicate test */
tail->next = CreateTest(&tail->params, test_num++);
tail = tail->next;
}
AllocResults(tail);
runflag = 1;
} else if (runflag) {
Expand Down

0 comments on commit 0665dea

Please sign in to comment.