From e70aae69da342bbc5c0ba371a024cf2c6032dfc6 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Tue, 18 Jun 2019 16:07:09 +0300 Subject: [PATCH] Remove unused shell script the file is not used anywhere, nor is the findtestfiles() function defined inside of it. --- tests/lib/testlib.sh | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 tests/lib/testlib.sh diff --git a/tests/lib/testlib.sh b/tests/lib/testlib.sh deleted file mode 100644 index 896d8849..00000000 --- a/tests/lib/testlib.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# Shell functions for use by anaconda tests -# -# Copyright (C) 2014 Red Hat, Inc. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as published -# by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this program. If not, see . -# -# Author: David Shea - -# Print a list of files to test on stdout -# Takes filter arguments identical to the find utility, for example -# findtestfiles -name '*.py'. Note that pruning directories will not -# work since find is passed a list of filenames as the path arguments. -findtestfiles() -{ - # If the test is being run from a git work tree, use a list of all files - # known to git - if [ -d "${top_srcdir}/.git" ]; then - findpath=$(git ls-files -c "${top_srcdir}") - # Otherwise list everything under $top_srcdir - else - findpath="${top_srcdir} -type f" - fi - - find $findpath "$@" -}