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

Signed-off-by: Jason Wang <jasow...@redhat.com>
---
 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 <mbl...@mbligh.org>"
+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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to