Lines Matching refs:fail_unless
58 fail_unless(result == 1, "Host not found should return 1");
60 fail_unless(password[0] == 0, "password should not have been changed");
62 fail_unless(login[0] == 0, "login should not have been changed");
71 fail_unless(result == 0, "Host should be found");
73 fail_unless(password[0] == 0, "password should not have been changed");
75 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed");
84 fail_unless(result == 1, "Host should be found");
86 fail_unless(password[0] == 0, "password should not have been changed");
88 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed");
98 fail_unless(result == 0, "Host should be found");
100 fail_unless(password[0] == 0, "password should not have been changed");
102 fail_unless(strncmp(login, "admi", 4) == 0, "login should not have been changed");
112 fail_unless(result == 0, "Host should be found");
114 fail_unless(password[0] == 0, "password should not have been changed");
116 fail_unless(strncmp(login, "adminn", 6) == 0, "login should not have been changed");
126 fail_unless(result == 0, "Host should have been found");
128 fail_unless(strncmp(password, "passwd", 6) == 0,
131 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
141 fail_unless(result == 0, "Host should have been found");
143 fail_unless(strncmp(password, "passwd", 6) == 0,
146 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
159 fail_unless(result == 0, "Host should have been found");
161 fail_unless(strncmp(password, "none", 4) == 0,
164 fail_unless(strncmp(login, "none", 4) == 0, "login should be 'none'");
174 fail_unless(result == 0, "Host should have been found");
176 fail_unless(strncmp(password, "none", 4) == 0,
179 fail_unless(strncmp(login, "none", 4) == 0, "login should be 'none'");