Lines Matching refs:printf
64 printf("struct logininfo %s = {\n\t"
98 printf("**\n** Testing the API...\n**\n");
105 printf("login_alloc_entry test (no host info):\n");
114 printf("Setting host address info for 'localhost' (may call out):\n");
116 printf("Couldn't set hostname(lookup failed)\n");
129 printf("NOT RUNNING LOGIN TESTS - you are not root!\n");
138 printf("Performing an invalid login attempt (no type field)\n--\n");
140 printf("--\n(Should have written errors to stderr)\n");
147 printf("Before logging in:\n\tcurrent time is %d - %s\t"
152 printf("Performing a login on line %s ", stripline);
156 printf("at %d - %s", (int)logintime, s_logintime);
158 printf("--\n");
165 printf("--\nPausing for %d second(s)...\n", PAUSE_BEFORE_LOGOUT);
168 printf("Performing a logout ");
172 printf("at %d - %s", (int)logouttime, s_logouttime);
174 printf("\nThe root login shown above should be gone.\n"
182 printf("-- ('who' output ends)\n");
187 printf("After logging in, lastlog time is %d - %s\n", (int)t2, s_t2);
189 printf("The lastlog times before and after logging in are the "
195 printf("** The login time and the lastlog time differ.\n"
201 printf("lastlog agrees with the login time. This is a good thing.\n");
205 printf("--\nThe output of 'last' shown next should have "
212 printf("--\nEnd of login test.\n");
234 printf("%s: %s, %s, %s\n", line, full, strip, abbrev);
242 printf("**\n** Testing linename functions\n**\n");
257 printf("**\n** Compile-time options\n**\n");
259 printf("login recording methods selected:\n");
261 printf("\tUSE_LOGIN\n");
264 printf("\tUSE_UTMP (UTMP_FILE=%s)\n", UTMP_FILE);
267 printf("\tUSE_UTMPX\n");
270 printf("\tUSE_WTMP (WTMP_FILE=%s)\n", WTMP_FILE);
273 printf("\tUSE_WTMPX (WTMPX_FILE=%s)\n", WTMPX_FILE);
276 printf("\tUSE_LASTLOG (LASTLOG_FILE=%s)\n", LASTLOG_FILE);
278 printf("\n");
286 printf("Platform-independent login recording test driver\n");