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

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

 



Hwclock is useful to do the basic testing of emulated RTC.

Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
---
 client/tests/kvm/autotest_control/hwclock.control |   12 ++++++++++++
 client/tests/kvm/tests_base.cfg.sample            |    3 +++
 2 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 client/tests/kvm/autotest_control/hwclock.control

diff --git a/client/tests/kvm/autotest_control/hwclock.control b/client/tests/kvm/autotest_control/hwclock.control
new file mode 100644
index 0000000..bf3e9d3
--- /dev/null
+++ b/client/tests/kvm/autotest_control/hwclock.control
@@ -0,0 +1,12 @@
+AUTHOR = "Martin J. Bligh <mbligh@xxxxxxxxxx>"
+NAME = "Hwclock"
+TIME = "SHORT"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "General"
+TEST_TYPE = "client"
+
+DOC = """
+This test checks that we can set and read the hwclock successfully
+"""
+
+job.run_test('hwclock')
diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index cc10713..00b80c3 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -145,6 +145,9 @@ variants:
             - scrashme:
                 test_name = scrashme
                 test_control_file = scrashme.control
+            - hwclock:
+                test_name = hwclock
+                test_control_file = hwclock.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