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