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()
134 printf("[RUN]\tchild: Extend permissions to 0x81\n"); in main()
136 printf("[FAIL]\tioperm(0x81, 1, 1) failed (%d)", errno); in main()
139 printf("[RUN]\tchild: Drop permissions to 0x80\n"); in main()
141 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
150 printf("[FAIL]\tChild died\n"); in main()
153 printf("[FAIL]\tChild failed\n"); in main()
156 printf("[OK]\tChild succeeded\n"); in main()
161 printf("\tVerify that unsharing the bitmap worked\n"); in main()
165 printf("\tDrop privileges\n"); in main()
167 printf("[WARN]\tDropping privileges failed\n"); in main()
171 printf("[RUN]\tdisable 0x80\n"); in main()
173 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
176 printf("[OK]\tit worked\n"); in main()
178 printf("[RUN]\tenable 0x80 again\n"); in main()
180 printf("[FAIL]\tit succeeded but should have failed.\n"); in main()
183 printf("[OK]\tit failed\n"); in main()