From patchwork Mon May 17 07:25:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 100041 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 o4H7KjmH022431 for ; Mon, 17 May 2010 07:20:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753490Ab0EQHUn (ORCPT ); Mon, 17 May 2010 03:20:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48669 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588Ab0EQHUm (ORCPT ); Mon, 17 May 2010 03:20:42 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4H7Kg6u012954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 May 2010 03:20:42 -0400 Received: from localhost.localdomain ([10.66.91.25]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4H7KdcQ012705; Mon, 17 May 2010 03:20:40 -0400 Subject: [PATCH 2/2] KVM test: Add rtc into the guest test To: autotest@test.kernel.org, lmr@redhat.com From: Jason Wang Cc: kvm@vger.kernel.org Date: Mon, 17 May 2010 15:25:41 +0800 Message-ID: <20100517072541.8532.15382.stgit@localhost.localdomain> In-Reply-To: <20100517072532.8532.3686.stgit@localhost.localdomain> References: <20100517072532.8532.3686.stgit@localhost.localdomain> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 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]); Mon, 17 May 2010 07:20:45 +0000 (UTC) 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 " +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