summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/cp/symlink-slash1
-rwxr-xr-xtests/du/files0-from2
-rwxr-xr-xtests/du/no-deref2
-rwxr-xr-xtests/ls/symlink-slash1
4 files changed, 6 insertions, 0 deletions
diff --git a/tests/cp/symlink-slash b/tests/cp/symlink-slash
index 3ef527d49..f55d49dff 100755
--- a/tests/cp/symlink-slash
+++ b/tests/cp/symlink-slash
@@ -7,6 +7,7 @@ if test "$VERBOSE" = yes; then
cp --version
fi
+. $srcdir/../envvar-check
. $srcdir/../lang-default
pwd=`pwd`
diff --git a/tests/du/files0-from b/tests/du/files0-from
index 296e80d0d..36bc2e4db 100755
--- a/tests/du/files0-from
+++ b/tests/du/files0-from
@@ -5,6 +5,8 @@
: ${PERL=perl}
: ${srcdir=.}
+. $srcdir/../envvar-check
+
$PERL -e 1 > /dev/null 2>&1 || {
echo 1>&2 "$0: configure didn't find a usable version of Perl," \
"so can't run this test"
diff --git a/tests/du/no-deref b/tests/du/no-deref
index f0f1ba74e..c8ef95ba1 100755
--- a/tests/du/no-deref
+++ b/tests/du/no-deref
@@ -6,6 +6,8 @@ if test "$VERBOSE" = yes; then
du --version
fi
+. $srcdir/../envvar-check
+
pwd=`pwd`
t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
diff --git a/tests/ls/symlink-slash b/tests/ls/symlink-slash
index fa9629cdf..8862353e9 100755
--- a/tests/ls/symlink-slash
+++ b/tests/ls/symlink-slash
@@ -6,6 +6,7 @@ if test "$VERBOSE" = yes; then
ls --version
fi
+. $srcdir/../envvar-check
. $srcdir/../lang-default
tmp=t-ls.$$