diff options
Diffstat (limited to 'src/test/test-unit-file.c')
-rw-r--r-- | src/test/test-unit-file.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/test/test-unit-file.c b/src/test/test-unit-file.c index 892b65d322..c7e8353b3b 100644 --- a/src/test/test-unit-file.c +++ b/src/test/test-unit-file.c @@ -237,7 +237,7 @@ static void test_config_parse_exec(void) { &c, NULL); assert_se(r >= 0); c1 = c1->command_next; - check_execcommand(c1, "/RValue", "argv0", "r1", NULL, true); + check_execcommand(c1, "/RValue", "argv0", "r1", ";", true); log_info("/* escaped semicolon */"); r = config_parse_exec(NULL, "fake", 5, "section", 1, @@ -284,7 +284,7 @@ static void test_config_parse_exec(void) { &c, NULL); assert_se(r >= 0); c1 = c1->command_next; - check_execcommand(c1, "/bin/find", NULL, NULL, NULL, false); + check_execcommand(c1, "/bin/find", NULL, ";", NULL, false); log_info("/* quoted semicolon with following arg */"); r = config_parse_exec(NULL, "fake", 5, "section", 1, @@ -294,11 +294,7 @@ static void test_config_parse_exec(void) { assert_se(r >= 0); c1 = c1->command_next; check_execcommand(c1, - "/sbin/find", NULL, NULL, NULL, false); - - c1 = c1->command_next; - check_execcommand(c1, - "/x", NULL, NULL, NULL, false); + "/sbin/find", NULL, ";", "/x", false); log_info("/* spaces in the filename */"); r = config_parse_exec(NULL, "fake", 5, "section", 1, |