Lines Matching refs:force_command
113 STR_EQ(force_command);
244 STRING_TEST("command", force_command, "/bin/true");
338 cert = load_key("force_command.cert");
340 expected->force_command = strdup("foo");
341 ASSERT_PTR_NE(expected->force_command, NULL);
507 PREPARE("force-command both", "force_command", "command=\"foo\"");
509 expected->force_command = strdup("foo");
510 ASSERT_PTR_NE(expected->force_command, NULL);
521 expected->force_command = strdup("bar");
522 ASSERT_PTR_NE(expected->force_command, NULL);
526 PREPARE("force-command cert", "force_command", "");
528 expected->force_command = strdup("foo");
529 ASSERT_PTR_NE(expected->force_command, NULL);
533 PREPARE("force-command mismatch", "force_command", "command=\"bar\"");