diff mbox

[2/2] KVM test: Add rtc into the guest test

Message ID 20100517072541.8532.15382.stgit@localhost.localdomain (mailing list archive)
State New, archived
Headers show

Commit Message

Jason Wang May 17, 2010, 7:25 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/autotest_control/rtc.control b/client/tests/kvm/autotest_control/rtc.control
new file mode 100644
index 0000000..b7597e3
--- /dev/null
+++ b/client/tests/kvm/autotest_control/rtc.control
@@ -0,0 +1,15 @@ 
+TIME="SHORT"
+AUTHOR = "Jason Wang <jasowag@redhat.com>"
+DOC = """
+rtc is a simple test of realtime clock driver which was grabbed from 
+Documentation/rtc.txt. It does the functional test of interrupt, alarm and 
+requeseted frequency.
+
+Please refer the kernel documentation for details.
+"""
+NAME = 'rtc'
+TEST_CLASS = 'kernel'
+TEST_CATEGORY = 'Functional'
+TEST_TYPE = 'client'
+
+job.run_test('rtc', maxfreq=8192)
diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index bb3646c..b003a3e 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -151,6 +151,8 @@  variants:
                 test_control_file = scrashme.control
             - hwclock:
                 test_control_file = hwclock.control
+            - rtc:
+                test_control_file = rtc.control
 
     - linux_s3:     install setup unattended_install
         type = linux_s3