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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rtc test is a test for rtc driver which could also be useful for
testing the rtc emulation in kvm.

Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
---
 0 files changed, 0 insertions(+), 0 deletions(-)

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@xxxxxxxxxx>"
+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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux