From: Arne Schwabe Date: Wed, 8 Dec 2021 17:06:14 +0000 (+0100) Subject: Add argv_insert_head__empty_argv__head_only to argv tests X-Git-Tag: v2.6_beta1~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc39fc7f3bddc6567507406cf8a389418e101bf8;p=thirdparty%2Fopenvpn.git Add argv_insert_head__empty_argv__head_only to argv tests The unit test argv_insert_head__empty_argv__head_only was defined but never used. Add it to the array of unit tests. Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20211208170614.3404821-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23359.html Signed-off-by: Gert Doering --- diff --git a/tests/unit_tests/openvpn/test_argv.c b/tests/unit_tests/openvpn/test_argv.c index e686adcb5..1b18ac0d4 100644 --- a/tests/unit_tests/openvpn/test_argv.c +++ b/tests/unit_tests/openvpn/test_argv.c @@ -266,6 +266,7 @@ main(void) cmocka_unit_test(argv_str__empty_argv__empty_output), cmocka_unit_test(argv_str__multiple_argv__correct_output), cmocka_unit_test(argv_insert_head__non_empty_argv__head_added), + cmocka_unit_test(argv_insert_head__empty_argv__head_only), }; return cmocka_run_group_tests_name("argv", tests, NULL, NULL);