Lines Matching refs:assert
25 assert(!strcmp("11", env_get("list"))); in do_ut_cmd()
29 assert(!strcmp("111", env_get("list"))); in do_ut_cmd()
34 assert(!strcmp("123", env_get("list"))); in do_ut_cmd()
42 assert(!strcmp("1", env_get("list"))); in do_ut_cmd()
44 assert(run_command("false", 0) == 1); in do_ut_cmd()
45 assert(run_command("echo", 0) == 0); in do_ut_cmd()
46 assert(run_command_list("false", -1, 0) == 1); in do_ut_cmd()
47 assert(run_command_list("echo", -1, 0) == 0); in do_ut_cmd()
52 assert(env_get("black") != NULL); in do_ut_cmd()
53 assert(!strcmp("1", env_get("black"))); in do_ut_cmd()
54 assert(env_get("adder") != NULL); in do_ut_cmd()
55 assert(!strcmp("2", env_get("adder"))); in do_ut_cmd()
58 assert(run_command("", 0) == 0); in do_ut_cmd()
59 assert(run_command(" ", 0) == 0); in do_ut_cmd()
61 assert(run_command("'", 0) == 1); in do_ut_cmd()