Lines Matching refs:tst_resm
67 tst_resm(TINFO, "RTC READ TEST:");
72 tst_resm(TFAIL, "RTC_RD_TIME ioctl failed");
76 tst_resm(TPASS, "RTC READ TEST Passed");
78 tst_resm(TINFO, "Current RTC date/time is %d-%d-%d, %02d:%02d:%02d.",
82 tst_resm(TINFO, "RTC ALARM TEST :");
102 tst_resm(TCONF | TERRNO, "RTC_ALM_SET not supported");
104 tst_resm(TFAIL | TERRNO , "RTC_ALM_SET ioctl failed");
111 tst_resm(TFAIL, "RTC_ALM_READ ioctl failed");
115 tst_resm(TINFO, "Alarm time set to %02d:%02d:%02d.",
120 tst_resm(TINFO, "RTC_AIE_ON ioctl failed");
124 tst_resm(TINFO, "Waiting 5 seconds for the alarm...");
135 tst_resm(TFAIL, "select failed");
140 tst_resm(TFAIL, "read failed");
143 tst_resm(TINFO, "Alarm rang.");
145 tst_resm(TFAIL, "Timed out waiting for the alarm");
152 tst_resm(TFAIL, "RTC_AIE_OFF ioctl failed");
155 tst_resm(TPASS, "RTC ALARM TEST Passed");
170 tst_resm(TINFO, "RTC UPDATE INTERRUPTS TEST :");
175 tst_resm(TCONF | TERRNO, "RTC_UIE_ON not supported");
177 tst_resm(TFAIL | TERRNO, "RTC_UIE_ON ioctl failed");
181 tst_resm(TINFO, "Waiting for 5 update interrupts...");
192 tst_resm(TFAIL, "select failed");
197 tst_resm(TFAIL, "read failed");
200 tst_resm(TINFO, "Update interrupt %d", i);
202 tst_resm(TFAIL,
211 tst_resm(TFAIL, "RTC_UIE_OFF ioctl failed");
214 tst_resm(TPASS, "RTC UPDATE INTERRUPTS TEST Passed");
239 tst_resm(TINFO, "RTC Tests Done!");