From patchwork Tue Sep 4 00:58:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 965174 X-Patchwork-Delegate: petr.vorel@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=cn.fujitsu.com Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 423Xf863Wxz9s3x for ; Mon, 3 Sep 2018 11:37:52 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 6DAB43E7587 for ; Mon, 3 Sep 2018 03:37:49 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) by picard.linux.it (Postfix) with ESMTP id 0E7B43E74F7 for ; Mon, 3 Sep 2018 03:37:43 +0200 (CEST) Received: from heian.cn.fujitsu.com (mail.cn.fujitsu.com [183.91.158.132]) by in-6.smtp.seeweb.it (Postfix) with ESMTP id 30E7F1400444 for ; Mon, 3 Sep 2018 03:37:42 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="44355736" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 03 Sep 2018 09:37:34 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id E7BF24B6EC84; Mon, 3 Sep 2018 09:37:31 +0800 (CST) Received: from RHEL7U5Alpha_SERVER.g08.fujitsu.local (10.167.220.156) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 3 Sep 2018 09:37:35 +0800 From: Xiao Yang To: Date: Tue, 4 Sep 2018 08:58:09 +0800 Message-ID: <1536022690-17612-1-git-send-email-yangx.jy@cn.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.167.220.156] X-yoursite-MailScanner-ID: E7BF24B6EC84.AB4DE X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: yangx.jy@cn.fujitsu.com X-Spam-Status: No, score=2.5 required=7.0 tests=DATE_IN_FUTURE_12_24 autolearn=disabled version=3.4.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-6.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-6.smtp.seeweb.it Cc: Sun Lianwen , ltp@lists.linux.it Subject: [LTP] [PATCH] runltp: change the default cmdfile to exec when exec runltp -N X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" From: Sun Lianwen when exec "runltp -N" and no command files were provided, the command file of "$LTPROOT/scenario_groups/network" should execute, not the "$LTPROOT/scenario_groups/default". Signed-off-by: Sun Lianwen --- runltp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runltp b/runltp index 24ea94fe5..1810c9384 100755 --- a/runltp +++ b/runltp @@ -609,7 +609,7 @@ main() SCENARIO_LISTS="$LTPROOT/scenario_groups/default" if [ "$RUN_NETEST" -eq 1 ]; then - SCENARIO_LISTS="$SCENARIO_LISTS $LTPROOT/scenario_groups/network" + SCENARIO_LISTS="$LTPROOT/scenario_groups/network" fi # DO NOT INDENT/DEDENT!