summaryrefslogtreecommitdiff
path: root/tests/deep-directories
diff options
context:
space:
mode:
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>2015-01-27 13:31:14 +0100
committerAndreas Gruenbacher <agruen@gnu.org>2015-01-31 22:14:01 +0100
commitc80b1a06a9209e6e7f1b624b9058e2b838c67797 (patch)
tree5c0fe4fc79e5e8f6fc5473c23486623b90ab3a4e /tests/deep-directories
parent8d621e88193c6a5a80081104d9ae4434cff78722 (diff)
downloadpatch-c80b1a06a9209e6e7f1b624b9058e2b838c67797.tar.gz
test-lib.sh: factorize require_* functions
Since the code is identical when just checking if a utility is present on the system or not, we can factorize it. Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Diffstat (limited to 'tests/deep-directories')
-rwxr-xr-xtests/deep-directories2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/deep-directories b/tests/deep-directories
index 89e66be..d6a41a6 100755
--- a/tests/deep-directories
+++ b/tests/deep-directories
@@ -6,7 +6,7 @@
. $srcdir/test-lib.sh
-require_cat
+require cat
use_local_patch
use_tmpdir