From cba5e3591649f0467f2154e9d371e358711f747d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 1 Feb 2010 13:34:46 +0100 Subject: [PATCH] tests: remove unnecessary use of "path_prepend_ ." It is unnecessary, since Makefile.am's TESTS_ENVIRONMENT setting already adds the top build directory, and besides, is only marginally useful when running stand-alone, since it presumes that the script is being run from the top build directory. * tests/helin-segv: Remove unnecessary use of path_prepend_. * tests/memcpy-abuse: Likewise. * tests/trailing-nul: Likewise. * tests/zdiff: Likewise. * tests/zgrep-f: Likewise. --- tests/helin-segv | 2 +- tests/memcpy-abuse | 2 +- tests/trailing-nul | 2 +- tests/zdiff | 2 +- tests/zgrep-f | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/helin-segv b/tests/helin-segv index d6b14f6..4e448a5 100755 --- a/tests/helin-segv +++ b/tests/helin-segv @@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then fi : ${srcdir=.} -. "$srcdir/tests/init.sh"; path_prepend_ . +. "$srcdir/tests/init.sh" # This test case was provided by Aki Helin. printf '\037\235\220\0\0\0\304' > helin.gz || framework_failure diff --git a/tests/memcpy-abuse b/tests/memcpy-abuse index 8f2abd5..95bc8ca 100755 --- a/tests/memcpy-abuse +++ b/tests/memcpy-abuse @@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then fi : ${srcdir=.} -. "$srcdir/tests/init.sh"; path_prepend_ . +. "$srcdir/tests/init.sh" # The input must be larger than 32KiB and slightly # less uniform than e.g., all zeros. diff --git a/tests/trailing-nul b/tests/trailing-nul index 83805df..8106c29 100755 --- a/tests/trailing-nul +++ b/tests/trailing-nul @@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then fi : ${srcdir=.} -. "$srcdir/tests/init.sh"; path_prepend_ . +. "$srcdir/tests/init.sh" (echo 0 | gzip; printf '\0') > 0.gz || framework_failure (echo 00 | gzip; printf '\0\0') > 00.gz || framework_failure diff --git a/tests/zdiff b/tests/zdiff index da753c6..151d00d 100755 --- a/tests/zdiff +++ b/tests/zdiff @@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then fi : ${srcdir=.} -. "$srcdir/tests/init.sh"; path_prepend_ . +. "$srcdir/tests/init.sh" echo a > a || framework_failure echo b > b || framework_failure diff --git a/tests/zgrep-f b/tests/zgrep-f index 5f4b7a0..0801e8d 100644 --- a/tests/zgrep-f +++ b/tests/zgrep-f @@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then fi : ${srcdir=.} -. "$srcdir/tests/init.sh"; path_prepend_ . +. "$srcdir/tests/init.sh" echo needle > n || framework_failure echo needle > haystack || framework_failure -- 2.47.2