From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: [PATCH 2/2] KVM test: Add the hwclock test into guest test Date: Tue, 30 Mar 2010 18:34:35 +0800 Message-ID: <20100330103435.28582.41336.stgit@localhost.localdomain> References: <20100330103426.28582.42762.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: autotest@test.kernel.org, lmr@redhat.com, kvm@vger.kernel.org Return-path: In-Reply-To: <20100330103426.28582.42762.stgit@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org Hwclock is useful to do the basic testing of emulated RTC. Signed-off-by: Jason Wang --- 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 " +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