From patchwork Mon Sep 3 10:50:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 965381 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=suse.cz 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 423mvw0KGPz9s3x for ; Mon, 3 Sep 2018 20:50:35 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 00CD53E70D2 for ; Mon, 3 Sep 2018 12:50:33 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) by picard.linux.it (Postfix) with ESMTP id 778313E7095 for ; Mon, 3 Sep 2018 12:50:31 +0200 (CEST) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id 63DC0200C74 for ; Mon, 3 Sep 2018 12:50:29 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 58C52AF6F; Mon, 3 Sep 2018 10:50:29 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Mon, 3 Sep 2018 12:50:17 +0200 Message-Id: <20180903105017.31106-1-pvorel@suse.cz> X-Mailer: git-send-email 2.18.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=7.0 tests=SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-7.smtp.seeweb.it Cc: Sun Lianwen Subject: [LTP] [PATCH 1/1] runltp: Remove RHOST setup 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: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" as RSH is deprecated. The default management link of network tests are network namespaces. For remote management is better to setup SSH via: TST_USE_SSH=1 Signed-off-by: Petr Vorel --- To be honest, I'd prefer removing -N option from runltp or replace it with info "Run network tests via network.sh script" (+ remove scenario_groups/network). I'm looking forward the day this crazy script is replaced with something more convenient. Kind regards, Petr --- runltp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/runltp b/runltp index bbbb58771..5e2f5668d 100755 --- a/runltp +++ b/runltp @@ -570,30 +570,6 @@ main() INSTANCES="$INSTANCES -O ${TMP}" } - [ "$RUN_NETEST" -eq 1 ] && \ - { - [ -z "$RHOST" ] || [ -z "$PASSWD" ] && \ - { - [ -z "$RHOST" ] && \ - { - printf "INFO: Enter RHOST = 'name of the remote host machine'" - printf "\n-> " - read RHOST - } - - [ -z "$PASSWD" ] && \ - { - printf "\nINFO: " - printf "Enter PASSWD = 'root passwd of the remote host machine'" - printf "\n-> " - read PASSWD - } - export RHOST=$RHOST - export PASSWD=$PASSWD - echo "WARNING: security of $RHOST may be compromised" - } - } - # If user does not provide a command file select a default set of testcases # to execute. if [ -z "$CMDFILES" ] && [ -z "$CMDFILEADDR" ]; then