The expected result of this test program is:
root@localhost:~# ./rtc_chk
Alarm test start.
* Current RTC: 2020/3/16 04:16:33
* Alarm timer is set to '04:16:38'
* Set alarm in 5s... Get alarm !!
root@localhost:~#
We can get this result when the patch is applied to the linux kernel source.
Without the patch, we will never see the message "* Set alarm in 5s... Get alarm !!" and following command prompt.