Lines Matching refs:tst_resm
68 tst_resm(TINFO, "RTC READ TEST:");
73 tst_resm(TFAIL | TERRNO, "RTC_RD_TIME ioctl failed");
77 tst_resm(TPASS, "RTC READ TEST Passed");
79 tst_resm(TINFO, "Current RTC date/time is %d-%d-%d, %02d:%02d:%02d.",
83 tst_resm(TINFO, "RTC ALARM TEST :");
103 tst_resm(TCONF | TERRNO, "RTC_ALM_SET not supported");
105 tst_resm(TFAIL | TERRNO, "RTC_ALM_SET ioctl failed");
113 tst_resm(TCONF | TERRNO, "RTC_ALM_READ not suported");
115 tst_resm(TFAIL | TERRNO, "RTC_ALM_READ ioctl failed");
119 tst_resm(TINFO, "Alarm time set to %02d:%02d:%02d.",
126 tst_resm(TINFO | TERRNO, "RTC_AIE_ON ioctl failed");
130 tst_resm(TINFO, "Waiting 5 seconds for the alarm...");
141 tst_resm(TFAIL | TERRNO, "select failed");
146 tst_resm(TFAIL | TERRNO, "read failed");
149 tst_resm(TINFO, "Alarm rang.");
151 tst_resm(TFAIL, "Timed out waiting for the alarm");
158 tst_resm(TFAIL | TERRNO, "RTC_AIE_OFF ioctl failed");
161 tst_resm(TPASS, "RTC ALARM TEST Passed");
176 tst_resm(TINFO, "RTC UPDATE INTERRUPTS TEST :");
181 tst_resm(TCONF | TERRNO, "RTC_UIE_ON not supported");
183 tst_resm(TFAIL | TERRNO, "RTC_UIE_ON ioctl failed");
187 tst_resm(TINFO, "Waiting for 5 update interrupts...");
198 tst_resm(TFAIL | TERRNO, "select failed");
203 tst_resm(TFAIL | TERRNO, "read failed");
206 tst_resm(TINFO, "Update interrupt %d", i);
208 tst_resm(TFAIL,
217 tst_resm(TFAIL | TERRNO, "RTC_UIE_OFF ioctl failed");
220 tst_resm(TPASS, "RTC UPDATE INTERRUPTS TEST Passed");
242 tst_resm(TINFO, "RTC Tests Done!");