Mercurial > dovecot > core-2.2
changeset 22067:2fae66df5b58
lib-program-client: Made the test suite ignore the protocol version.
author | Stephan Bosch <stephan.bosch@dovecot.fi> |
---|---|
date | Tue, 09 May 2017 14:22:06 +0200 |
parents | 50c94126d7ee |
children | f294b577cf76 |
files | src/lib-program-client/test-program-client-remote.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-program-client/test-program-client-remote.c Thu Oct 20 15:41:54 2016 +0200 +++ b/src/lib-program-client/test-program-client-remote.c Tue May 09 14:22:06 2017 +0200 @@ -91,7 +91,7 @@ switch(client->state) { case CLIENT_STATE_INIT: - test_assert((cmp = strcmp(line, "VERSION\tscript\t3\t0")) == 0); + test_assert((cmp = strncmp(line, "VERSION\tscript\t", 15)) == 0); if (cmp == 0) { client->state = CLIENT_STATE_VERSION; } else