>From 0b483d326c758eed55f9e93644704c50d66d6e83 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Wed, 9 Jan 2019 00:24:34 +0100 Subject: [PATCH 12/12] tests: remove last traces of old shell tests * find/testsuite/Makefile.am (test_shell_progs): Remove. (EXTRA_DIST): Remove $(test_shell_progs) and 'binary_locations.sh'. (TESTS): Remove. * find/testsuite/binary_locations.sh: Remove utility script. --- find/testsuite/Makefile.am | 6 +----- find/testsuite/binary_locations.sh | 34 ------------------------------ 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 find/testsuite/binary_locations.sh diff --git a/find/testsuite/Makefile.am b/find/testsuite/Makefile.am index bcc7680d..27c06082 100644 --- a/find/testsuite/Makefile.am +++ b/find/testsuite/Makefile.am @@ -251,17 +251,13 @@ find.posix/typesize.exp \ find.posix/user-empty.exp \ find.posix/user-missing.exp -test_shell_progs = - EXTRA_DIST = $(EXTRA_DIST_EXP) $(EXTRA_DIST_XO) \ - $(test_shell_progs) binary_locations.sh checklists.py + checklists.py CLEANFILES = *.log *.sum site.exp site.bak configured-testfiles.txt #DIST_SUBDIRS = config - -TESTS = $(test_shell_progs) TEST_EXTENSIONS = .sh .py check-local: checklists diff --git a/find/testsuite/binary_locations.sh b/find/testsuite/binary_locations.sh deleted file mode 100644 index 65702827..00000000 --- a/find/testsuite/binary_locations.sh +++ /dev/null @@ -1,34 +0,0 @@ -# Source this file, don't execute it. -# -# Copyright (C) 2011-2019 Free Software Foundation, 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 3 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, see . -# - -if [ -z "${testname}" ]; then - echo 'Please set $testname before sourcing binary_locations.sh.' >&2 - exit 1 -fi - -parent="$(cd .. && pwd)" -if [ -f "${parent}/ftsfind" ]; then - ftsfind="${parent}/ftsfind" - oldfind="${parent}/find" -elif [ -f "${parent}/oldfind" ]; then - ftsfind="${parent}/find" - oldfind="${parent}/oldfind" -else - echo "Cannot find the executables to test." >&2 - exit 1 -fi -- 2.20.1