Lines Matching refs:fail_unless
71 fail_unless(action_sec != 0);
75 fail_unless(name_opt != 0);
76 fail_unless(cfg_opt_size(name_opt) == 1);
118 fail_unless(cfg_set_validate_func(cfg, "ip-address", validate_ip) == validate_ip);
120 fail_unless(opt != 0);
121 fail_unless(opt->validcb == validate_ip);
124 fail_unless(cfg_set_validate_func(cfg, "options", validate_action) == validate_action);
126 fail_unless(opt != 0);
127 fail_unless(opt->validcb == validate_action);
130 fail_unless(cfg_set_validate_func(cfg, "options|speed", validate_speed) == validate_speed);
132 fail_unless(opt != 0);
133 fail_unless(opt->validcb == validate_speed);
136 fail_unless(cfg_set_validate_func(cfg, "multi_options|speeds", validate_speed) == validate_speed);
139 fail_unless(cfg_set_validate_func(cfg, "multi_options|options|xspeed", validate_speed) == validate_speed);
153 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
156 fail_unless(cfg_parse_buf(cfg, buf) == CFG_SUCCESS);
160 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
164 fail_unless(cfg_parse_buf(cfg, buf) == CFG_SUCCESS);
168 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
171 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
173 fail_unless(cfg_parse_buf(cfg, buf) == CFG_SUCCESS);
175 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
179 fail_unless(cfg_parse_buf(cfg, buf) == CFG_SUCCESS);
184 fail_unless(speeds_opt != 0);
185 fail_unless(speeds_opt->validcb == validate_speed);
190 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
194 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);
198 fail_unless(cfg_parse_buf(cfg, buf) == CFG_SUCCESS);
202 fail_unless(cfg_parse_buf(cfg, buf) == CFG_PARSE_ERROR);