From: Stephan Bosch Date: Tue, 4 May 2021 00:12:21 +0000 (+0200) Subject: lib-program-client: test-program-client-unix - Fix server-side argument count check. X-Git-Tag: 2.3.16~226 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9af1bb34e86b456f45816a966b4a2c19040dd7eb;p=thirdparty%2Fdovecot%2Fcore.git lib-program-client: test-program-client-unix - Fix server-side argument count check. --- diff --git a/src/lib-program-client/test-program-client-unix.c b/src/lib-program-client/test-program-client-unix.c index 17b8e6efff..4bfbcab26c 100644 --- a/src/lib-program-client/test-program-client-unix.c +++ b/src/lib-program-client/test-program-client-unix.c @@ -145,7 +145,7 @@ static void test_program_run(struct test_client *client) timeout_remove(&test_globals.to); args = array_get(&client->args, &count); - test_assert(count > 0); + test_assert(count >= 2); if (strcmp(args[0], "test_program_success") == 0) { /* Return hello world */ test_assert(count >= 3);