From patchwork Mon Mar 22 07:45:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 87370 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 o2M7esOG029548 for ; Mon, 22 Mar 2010 07:40:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753913Ab0CVHkx (ORCPT ); Mon, 22 Mar 2010 03:40:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61941 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753417Ab0CVHkx (ORCPT ); Mon, 22 Mar 2010 03:40:53 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2M7eqaK001758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Mar 2010 03:40:52 -0400 Received: from localhost.localdomain ([10.66.91.25]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2M7eosk008182; Mon, 22 Mar 2010 03:40:51 -0400 Subject: [PATCH 4/4] KVM test: Enable timedrift for Linux guests To: autotest@test.kernel.org, lmr@redhat.com, kvm@vger.kernel.org From: Jason Wang Date: Mon, 22 Mar 2010 15:45:17 +0800 Message-ID: <20100322074517.16119.86536.stgit@localhost.localdomain> In-Reply-To: <20100322074452.16119.22820.stgit@localhost.localdomain> References: <20100322074452.16119.22820.stgit@localhost.localdomain> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 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, 22 Mar 2010 07:40:55 +0000 (UTC) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 8cc83a9..dcd0dcf 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -330,7 +330,7 @@ variants: variants: # Linux section - @Linux: - no timedrift autoit + no autoit shutdown_command = shutdown -h now reboot_command = shutdown -r now status_test_command = echo $? @@ -342,6 +342,15 @@ variants: file_transfer_port = 22 mem_chk_cmd = dmidecode -t 17 | awk -F: '/Size/ {print $2}' cpu_chk_cmd = grep -c processor /proc/cpuinfo + timedrift: + time_command = date +'TIME: %a %m/%d/%Y %H:%M:%S.%N' + time_filter_re = "(?:TIME: \w\w\w )(.{19})(?:\.\d\d)" + time_format = "%m/%d/%Y %H:%M:%S" + guest_load_command = "dd if=/dev/urandom of=/dev/null" + guest_load_instances = 2 + guest_load_clean_cmd = "killall -9 dd" + host_load_command = "bzip2 -c --best /dev/urandom > /dev/null" + host_load_instances = 8 variants: - Fedora: