@@ -4,5 +4,4 @@
#
rpc01 rpc01.sh
rpcinfo rpcinfo01.sh
-rup rup01.sh
rusers rusers01.sh
deleted file mode 100644
@@ -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
deleted file mode 100755
@@ -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 <http://www.gnu.org/licenses/>.
-
-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
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 <pvorel@suse.cz> --- 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