Skip to content

Commit

Permalink
lib-program-client: Made the test suite ignore the protocol version.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed May 23, 2017
1 parent a6d2ab1 commit 61d198b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-program-client/test-program-client-remote.c
Expand Up @@ -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
Expand Down

0 comments on commit 61d198b

Please sign in to comment.