From patchwork Mon Jun 24 06:13:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ren, Yongjie" X-Patchwork-Id: 2768701 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D8F199F3A0 for ; Mon, 24 Jun 2013 06:13:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0A842010B for ; Mon, 24 Jun 2013 06:13:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 272E620105 for ; Mon, 24 Jun 2013 06:13:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751990Ab3FXGNM (ORCPT ); Mon, 24 Jun 2013 02:13:12 -0400 Received: from mga09.intel.com ([134.134.136.24]:40320 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751155Ab3FXGNM convert rfc822-to-8bit (ORCPT ); Mon, 24 Jun 2013 02:13:12 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 23 Jun 2013 23:10:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,926,1363158000"; d="scan'208";a="334432314" Received: from fmsmsx104.amr.corp.intel.com ([10.19.9.35]) by orsmga001.jf.intel.com with ESMTP; 23 Jun 2013 23:13:11 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX104.amr.corp.intel.com (10.19.9.35) with Microsoft SMTP Server (TLS) id 14.3.123.3; Sun, 23 Jun 2013 23:13:11 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.123.3; Sun, 23 Jun 2013 23:13:11 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.42]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.155]) with mapi id 14.03.0123.003; Mon, 24 Jun 2013 14:13:09 +0800 From: "Ren, Yongjie" To: "kvm@vger.kernel.org" CC: "gleb@redhat.com" , "pbonzini@redhat.com" Subject: [PATCH kvm-unit-tests 3/3] x86-run: keep constant coding style for the 'if' statement Thread-Topic: [PATCH kvm-unit-tests 3/3] x86-run: keep constant coding style for the 'if' statement Thread-Index: Ac5woeBQAHhR5SnmSTS9/iiJNL+AGQ== Date: Mon, 24 Jun 2013 06:13:08 +0000 Message-ID: <1B4B44D9196EFF41AE41FDA404FC0A1001B1DADE@SHSMSX102.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP x86-run: keep constant coding style for the 'if' statement Signed-off-by: Yongjie Ren --- x86-run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/x86-run b/x86-run index daefd4a..6093a72 100755 --- a/x86-run +++ b/x86-run @@ -17,7 +17,8 @@ else fi fi -if ${qemu} -device '?' 2>&1 | fgrep pci-testdev > /dev/null; +if + ${qemu} -device '?' 2>&1 | fgrep pci-testdev > /dev/null; then pci_testdev="-device pci-testdev" else