Lines Matching refs:fail_unless

58   fail_unless(result == 1, "Host not found should return 1");
60 fail_unless(s_password[0] == 0, "password should not have been changed");
62 fail_unless(s_login[0] == 0, "login should not have been changed");
71 fail_unless(result == 0, "Host should have been found");
73 fail_unless(s_password[0] == 0, "password should not have been changed");
75 fail_unless(strncmp(s_login, "me", 2) == 0,
85 fail_unless(result == 1, "Host not found should return 1");
87 fail_unless(s_password[0] == 0, "password should not have been changed");
89 fail_unless(strncmp(s_login, "me", 2) == 0,
100 fail_unless(result == 0, "Host should have been found");
102 fail_unless(s_password[0] == 0, "password should not have been changed");
104 fail_unless(strncmp(s_login, "admi", 4) == 0,
115 fail_unless(result == 0, "Host should have been found");
117 fail_unless(s_password[0] == 0, "password should not have been changed");
119 fail_unless(strncmp(s_login, "adminn", 6) == 0,
130 fail_unless(result == 0, "Host should have been found");
132 fail_unless(strncmp(s_password, "passwd", 6) == 0,
135 fail_unless(strncmp(s_login, "admin", 5) == 0, "login should be 'admin'");
145 fail_unless(result == 0, "Host should have been found");
147 fail_unless(strncmp(s_password, "passwd", 6) == 0,
150 fail_unless(strncmp(s_login, "admin", 5) == 0, "login should be 'admin'");
163 fail_unless(result == 0, "Host should have been found");
165 fail_unless(strncmp(s_password, "none", 4) == 0,
168 fail_unless(strncmp(s_login, "none", 4) == 0, "login should be 'none'");
178 fail_unless(result == 0, "Host should have been found");
180 fail_unless(strncmp(s_password, "none", 4) == 0,
183 fail_unless(strncmp(s_login, "none", 4) == 0, "login should be 'none'");