Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp579771iob; Thu, 28 Apr 2022 08:11:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXY7ktwK4ZdYKiRE20fwb0NtgjEPk37IyadClc8W7nH9vgBiNNL7pvOPiwJppxy72KtOMy X-Received: by 2002:a17:902:70c8:b0:156:509b:68e3 with SMTP id l8-20020a17090270c800b00156509b68e3mr34271795plt.113.1651158717306; Thu, 28 Apr 2022 08:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651158717; cv=none; d=google.com; s=arc-20160816; b=DFnhxvGRUTS/LMtm54hFLVFJdY59oqrNfZjSpcJSWYyV55v63oC1Ekoki+PH1/Ozi2 6IGb9NxEUN+Wp2Oel3Wf/x+Xyox25QzamPgQRfqCoLvpLQ7Q4jyqq2gglf7wM7gUmwY1 UGx5XhqVDnrvqQ2pp284cm4YJPAVwNd2v9Jcw3CFdgMmwhidfFfo8bd2EOq1xCtOL6MA PeVCGBol0mApZMhqKr+4Ad8A0Vcbd+YVxIpf1SUH1ynhgdWKbusCIj43lV7liTmM1cE+ aYEFrjt0hLMs+b9JhgbDlAf1ok3tdXW2Wj36glsINtOvsfbQ7ymih7sB+2UWICzhLn73 kT8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=oZuiVnDhry/wkJk/1XP+/3oFsXyfnMnNd8SxslPpuVE=; b=tDMAVZCwx+XpWD69VWNU/MBYM+KU+9KWMwGNAfFLowTON0eWIT/DzE8RaF8SOF+4gU RnMILeCuODXkbx0VVMNWDn0OR4kC0kdZaCdQXggDX05SlzA+3MY2s8/BhstxckQh5V0k OSutEe+3Vv1pBb6Prza+H3adY6a1i3EEAghhxaoNA/xi2qe+QNq0HRmbPYpRZhZXUQzd ySagLFGrCxfjFOKUF8bYkyo/6TGi2Ae6gY5/hyK7NCpHwVRhkvoQVRm5QAwYGDuIFBXh YA6t6PyHDiV9truvtGC6j3hJ61sak7p9zJ9IoUOfDb2AoLx5lUTEFenGTzH4c8Ai7M/t pZVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=bQRTZBxV; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="/FTSwa41"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020a63f414000000b003816043ee95si4654225pgi.138.2022.04.28.08.11.26; Thu, 28 Apr 2022 08:11:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=bQRTZBxV; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="/FTSwa41"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348414AbiD1Oqi (ORCPT + 99 others); Thu, 28 Apr 2022 10:46:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348257AbiD1Oqh (ORCPT ); Thu, 28 Apr 2022 10:46:37 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3639D220CB for ; Thu, 28 Apr 2022 07:43:22 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id AF21A210F3; Thu, 28 Apr 2022 14:43:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1651157000; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oZuiVnDhry/wkJk/1XP+/3oFsXyfnMnNd8SxslPpuVE=; b=bQRTZBxVe9vjKJ4okG3U+5vRPdrXaNp5ueJZdSAiOiLoRDE7G9kGIylf+OkxC9juKKScIt YGoZj/f+55/dYMLVvCRyFtIJGsKc6wZlw9gZgxin/XQQXvg0ysszX3Hkd+caNPALJyn/jI PzQRlB5+EdnBlvAP6LC+zq01IyFRfQY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1651157000; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oZuiVnDhry/wkJk/1XP+/3oFsXyfnMnNd8SxslPpuVE=; b=/FTSwa41VqA8i4wT8oduHJt2gcxCowSxca2sXcBa0CSONIia3oDW6YXpzxNSIHelOV0xcv T7FDLsrkeZllb+BQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D8EAF13AF8; Thu, 28 Apr 2022 14:43:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kML9MQeoamK9bwAAMHmgww (envelope-from ); Thu, 28 Apr 2022 14:43:19 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , Steve Dickson , libtirpc-devel@lists.sourceforge.net, linux-nfs@vger.kernel.org, Cyril Hrubis , automated-testing@yoctoproject.org, Li Wang , Jan Stancek , Yang Xu , Anders Roxell , Naresh Kamboju , =?UTF-8?q?Daniel=20D=C3=ADaz?= , Chuck Lever , "J . Bruce Fields" , Trond Myklebust , Veronika Kabatova , Alexey Kodanev Subject: [RFC PATCH 1/3] rpc: Remove rup01.sh test Date: Thu, 28 Apr 2022 16:43:06 +0200 Message-Id: <20220428144308.32639-2-pvorel@suse.cz> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220428144308.32639-1-pvorel@suse.cz> References: <20220428144308.32639-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org rstatd is a RPC daemon which collects performance statistics from kernel on serving machine. On a client side there is rup (remote uptime display). rstat client and server implementation for Linux had the latest release 4.0.1 in 2005. Although it's still installable on Debian, IMHO whole technology is not used nowadays. As we have other RPC tests (both RPC/TI-RPC and RPC integration, i.e. NFS), we don't need to test this particular implementation. If this implementation is really useful, it should be moved into libtirpc project. Signed-off-by: Petr Vorel --- runtest/net.rpc | 1 - .../network/rpc/basic_tests/rup/Makefile | 29 ----------- .../network/rpc/basic_tests/rup/rup01.sh | 50 ------------------- 3 files changed, 80 deletions(-) delete mode 100644 testcases/network/rpc/basic_tests/rup/Makefile delete mode 100755 testcases/network/rpc/basic_tests/rup/rup01.sh diff --git a/runtest/net.rpc b/runtest/net.rpc index fb0665fae..ccee1dda7 100644 --- a/runtest/net.rpc +++ b/runtest/net.rpc @@ -4,5 +4,4 @@ # rpc01 rpc01.sh rpcinfo rpcinfo01.sh -rup rup01.sh rusers rusers01.sh diff --git a/testcases/network/rpc/basic_tests/rup/Makefile b/testcases/network/rpc/basic_tests/rup/Makefile deleted file mode 100644 index e0ebaaa58..000000000 --- a/testcases/network/rpc/basic_tests/rup/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# -# network/rpc/basic_tests/rup test suite Makefile. -# -# Copyright (C) 2009, Cisco Systems Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Ngie Cooper, July 2009 -# - -top_srcdir ?= ../../../../.. - -include $(top_srcdir)/include/mk/env_pre.mk - -INSTALL_TARGETS := rup01.sh - -include $(top_srcdir)/include/mk/generic_leaf_target.mk diff --git a/testcases/network/rpc/basic_tests/rup/rup01.sh b/testcases/network/rpc/basic_tests/rup/rup01.sh deleted file mode 100755 index 44f0e73d2..000000000 --- a/testcases/network/rpc/basic_tests/rup/rup01.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# Copyright (c) 2017 Oracle and/or its affiliates. All Rights Reserved. -# Copyright (c) International Business Machines Corp., 2000 -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it would be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -TCID="rup01" -TST_TOTAL=7 - -TST_USE_LEGACY_API=1 -. tst_net.sh - -do_setup() -{ - tst_resm TINFO "Checking for rstatd on $(tst_ipaddr)" - rpcinfo -u $(tst_ipaddr) rstatd 3 > /dev/null 2>&1 || \ - tst_brkm TCONF "rstatd is inactive on $(tst_ipaddr)" -} - -do_test() -{ - tst_resm TINFO "Test rup with options set" - - EXPECT_RHOST_PASS rup $(tst_ipaddr) - - local opts="-d -h -l -t" - for opt in $opts; do - EXPECT_RHOST_PASS rup $opt $(tst_ipaddr) - done - - tst_resm TINFO "Test rup with bad options" - EXPECT_RHOST_FAIL rup bogushost - EXPECT_RHOST_FAIL rup -bogusflag $(tst_ipaddr) -} - -do_setup -do_test - -tst_exit -- 2.35.3