summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/du/exclude2
-rwxr-xr-xtests/du/slash2
-rwxr-xr-xtests/du/trailing-slash2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/du/exclude b/tests/du/exclude
index 300300300..41f7ecd56 100755
--- a/tests/du/exclude
+++ b/tests/du/exclude
@@ -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/du/slash b/tests/du/slash
index 0676ee2f7..423fb3899 100755
--- a/tests/du/slash
+++ b/tests/du/slash
@@ -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/du/trailing-slash b/tests/du/trailing-slash
index 696a58233..41a9b53c0 100755
--- a/tests/du/trailing-slash
+++ b/tests/du/trailing-slash
@@ -8,6 +8,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