diff options
Diffstat (limited to 'ext/testcase.c')
-rw-r--r-- | ext/testcase.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/testcase.c b/ext/testcase.c index 251cd2f..e4346fe 100644 --- a/ext/testcase.c +++ b/ext/testcase.c @@ -378,6 +378,7 @@ struct oplist { { REL_COND, "<IF>" }, { REL_COMPAT, "compat >=" }, { REL_KIND, "<KIND>" }, + { REL_ELSE, "<ELSE>" }, { REL_LT, "<" }, { 0, 0 } }; @@ -2006,7 +2007,7 @@ testcase_solverresult(Solver *solv, int resultflags) int -testcase_write(Solver *solv, char *dir, int resultflags, const char *testcasename, const char *resultname) +testcase_write(Solver *solv, const char *dir, int resultflags, const char *testcasename, const char *resultname) { Pool *pool = solv->pool; Repo *repo; @@ -2332,7 +2333,7 @@ str2resultflags(Pool *pool, char *s) /* modifies the string! */ } Solver * -testcase_read(Pool *pool, FILE *fp, char *testcase, Queue *job, char **resultp, int *resultflagsp) +testcase_read(Pool *pool, FILE *fp, const char *testcase, Queue *job, char **resultp, int *resultflagsp) { Solver *solv; char *buf, *bufp; @@ -2750,7 +2751,7 @@ testcase_read(Pool *pool, FILE *fp, char *testcase, Queue *job, char **resultp, } char * -testcase_resultdiff(char *result1, char *result2) +testcase_resultdiff(const char *result1, const char *result2) { Strqueue sq1, sq2, osq; char *r; |