See log as below: ================ root@localhost:/opt/wr-test# ./main_test.sh -g bts -F -s RTC grsec: time set by /usr/bin/rdate[rdate:1131] uid/euid:0/0 gid/egid:0/0, parent /opt/wr-test/main_test.sh[main_test.sh:1103] uid/euid:0/0 gid/egid:0/0 2013 Apr 19 09:37:48 localhost grsec: time set by /usr/bin/rdate[rdate:1131] uid/euid:0/0 gid/egid:0/0, parent /opt/wr-test/main_test.sh[main_test.sh:1103] uid/euid:0/0 gid/egid:0/0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The test case list : RTC <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Start bts Case RTC at Fri Apr 19 09:37:48 UTC 2013 with duration 600 s [RTC] results:[ FAILED ] ========================================== ********Detail logs for RTC********** RTC.cfg readable! hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. RTC.cfg readable! hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. FAIL device node detect FAIL sync system time FAIL sync hardware time FAIL check time after reboot Tests Passed : 0 Tests Failed : 4 Tests Skiped : 0 Tests Manual : 0 Total Tested : 4 # ls /dev/rtc* ls: cannot access /dev/rtc*: No such file or directory # date +%Y%m%d%H%M 201304190933 # date -d "$(hwclock)" +%Y%m%d%H%M 201304190000 # hwclock -s hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. # date +%Y%m%d%H%M 201304190933 # date -d "$(hwclock)" +%Y%m%d%H%M 201304190000 # hwclock -w hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. # reboot # date +%Y%m%d%H%M 201304190936 201304190000 FAIL device node detect FAIL sync system time FAIL sync hardware time FAIL check time after reboot Tests Passed : 0 Tests Failed : 4 Tests Skiped : 0 Tests Manual : 0 Total Tested : 4 # ls /dev/rtc* ls: cannot access /dev/rtc*: No such file or directory # date +%Y%m%d%H%M 201304190933 # date -d "$(hwclock)" +%Y%m%d%H%M 201304190000 # hwclock -s hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. # date +%Y%m%d%H%M 201304190933 # date -d "$(hwclock)" +%Y%m%d%H%M 201304190000 # hwclock -w hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. # reboot # date +%Y%m%d%H%M 201304190936 201304190000 # ls /dev/rtc* ls: cannot access /dev/rtc*: No such file or directory # date +%Y%m%d%H%M 201304190936 # date -d "$(hwclock)" +%Y%m%d%H%M 201304190000 # hwclock -s hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. # date +%Y%m%d%H%M 201304190936 # date -d "$(hwclock)" +%Y%m%d%H%M 201304190000 # hwclock -w hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. # reboot # date +%Y%m%d%H%M 201304190937 201304190000 **************End of the logs************ Total Tests: 1 Passed: 0 Failed: 1 Skipped: 0 Exception: 0 Manual: 0 root@localhost:/opt/wr-test#
1. ./main_test.sh -g bts -F -s RTC