Lines Matching refs:tst_resm

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