Lines Matching refs:strncmp
80 fail_unless(strncmp(login, "me", 2) == 0,
96 fail_unless(strncmp(login, "me", 2) == 0,
113 fail_unless(strncmp(login, "admi", 4) == 0,
131 fail_unless(strncmp(login, "adminn", 6) == 0,
146 fail_unless(strncmp(password, "passwd", 6) == 0,
150 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
164 fail_unless(strncmp(password, "passwd", 6) == 0,
168 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
185 fail_unless(strncmp(password, "none", 4) == 0,
189 fail_unless(strncmp(login, "none", 4) == 0, "login should be 'none'");
203 fail_unless(strncmp(password, "none", 4) == 0,
207 fail_unless(strncmp(login, "none", 4) == 0, "login should be 'none'");