From patchwork Tue Mar 30 10:34:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 89283 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2UAULJi009805 for ; Tue, 30 Mar 2010 10:30:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756229Ab0C3KaT (ORCPT ); Tue, 30 Mar 2010 06:30:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17326 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756227Ab0C3KaS (ORCPT ); Tue, 30 Mar 2010 06:30:18 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2UAUH2D007764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 30 Mar 2010 06:30:18 -0400 Received: from localhost.localdomain ([10.66.91.25]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2UAUEFA020198; Tue, 30 Mar 2010 06:30:15 -0400 Subject: [PATCH 2/2] KVM test: Add the hwclock test into guest test To: autotest@test.kernel.org, lmr@redhat.com, kvm@vger.kernel.org From: Jason Wang Date: Tue, 30 Mar 2010 18:34:35 +0800 Message-ID: <20100330103435.28582.41336.stgit@localhost.localdomain> In-Reply-To: <20100330103426.28582.42762.stgit@localhost.localdomain> References: <20100330103426.28582.42762.stgit@localhost.localdomain> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 30 Mar 2010 10:30:22 +0000 (UTC) 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