From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: [PATCH 2/2] KVM test: Add rtc into the guest test Date: Mon, 17 May 2010 15:25:41 +0800 Message-ID: <20100517072541.8532.15382.stgit@localhost.localdomain> References: <20100517072532.8532.3686.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org, lmr@redhat.com Return-path: In-Reply-To: <20100517072532.8532.3686.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 rtc test is a test for rtc driver which could also be useful for testing the rtc emulation in kvm. Signed-off-by: Jason Wang --- 0 files changed, 0 insertions(+), 0 deletions(-) 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