Lines Matching refs:printf

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