Lines Matching refs:s_password

31 static char *s_password;  variable
35 s_password = strdup(""); in unit_setup()
37 if(!s_password || !s_login) { in unit_setup()
38 Curl_safefree(s_password); in unit_setup()
47 Curl_safefree(s_password); in unit_stop()
61 "test.example.com", &s_login, &s_password, arg);
63 abort_unless(s_password != NULL, "returned NULL!");
64 fail_unless(s_password[0] == 0, "password should not have been changed");
77 "example.com", &s_login, &s_password, arg);
79 abort_unless(s_password != NULL, "returned NULL!");
80 fail_unless(s_password[0] == 0, "password should not have been changed");
94 "test.example.com", &s_login, &s_password, arg);
96 abort_unless(s_password != NULL, "returned NULL!");
97 fail_unless(s_password[0] == 0, "password should not have been changed");
112 "example.com", &s_login, &s_password, arg);
114 abort_unless(s_password != NULL, "returned NULL!");
115 fail_unless(s_password[0] == 0, "password should not have been changed");
130 "example.com", &s_login, &s_password, arg);
132 abort_unless(s_password != NULL, "returned NULL!");
133 fail_unless(s_password[0] == 0, "password should not have been changed");
148 "example.com", &s_login, &s_password, arg);
150 abort_unless(s_password != NULL, "returned NULL!");
151 fail_unless(strncmp(s_password, "passwd", 6) == 0,
161 free(s_password);
162 s_password = strdup("");
163 abort_unless(s_password != NULL, "returned NULL!");
166 "example.com", &s_login, &s_password, arg);
168 abort_unless(s_password != NULL, "returned NULL!");
169 fail_unless(strncmp(s_password, "passwd", 6) == 0,
179 free(s_password);
180 s_password = strdup("");
181 abort_unless(s_password != NULL, "returned NULL!");
187 "curl.example.com", &s_login, &s_password, arg);
189 abort_unless(s_password != NULL, "returned NULL!");
190 fail_unless(strncmp(s_password, "none", 4) == 0,
200 free(s_password);
201 s_password = strdup("");
202 abort_unless(s_password != NULL, "returned NULL!");
205 "curl.example.com", &s_login, &s_password, arg);
207 abort_unless(s_password != NULL, "returned NULL!");
208 fail_unless(strncmp(s_password, "none", 4) == 0,