Lines Matching refs:printf
71 printf("[FAIL]\toutb to 0x%02hx failed\n", port); in expect_ok()
75 printf("[OK]\toutb to 0x%02hx worked\n", port); in expect_ok()
81 printf("[FAIL]\toutb to 0x%02hx worked\n", port); in expect_gp()
85 printf("[OK]\toutb to 0x%02hx failed\n", port); in expect_gp()
103 printf("[RUN]\tenable 0x80\n"); in main()
105 printf("[OK]\tioperm(0x80, 1, 1) failed (%d) -- try running as root\n", in main()
112 printf("[RUN]\tdisable 0x80\n"); in main()
114 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
122 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
131 printf("[RUN]\tchild: check that we inherited permissions\n"); in main()
139 printf("[FAIL]\tChild died\n"); in main()
142 printf("[FAIL]\tChild failed\n"); in main()
145 printf("[OK]\tChild succeeded\n"); in main()
151 printf("\tDrop privileges\n"); in main()
153 printf("[WARN]\tDropping privileges failed\n"); in main()
157 printf("[RUN]\tdisable 0x80\n"); in main()
159 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
162 printf("[OK]\tit worked\n"); in main()
164 printf("[RUN]\tenable 0x80 again\n"); in main()
166 printf("[FAIL]\tit succeeded but should have failed.\n"); in main()
169 printf("[OK]\tit failed\n"); in main()