diff --git a/src/lib-program-client/test-program-client-remote.c b/src/lib-program-client/test-program-client-remote.c index 5436bc84e4..9196c309e6 100644 --- a/src/lib-program-client/test-program-client-remote.c +++ b/src/lib-program-client/test-program-client-remote.c @@ -91,7 +91,7 @@ int test_program_input_handle(struct test_client *client, const char *line) 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