summaryrefslogtreecommitdiff
path: root/tests/du/files0-from
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-12-06 22:42:47 +0000
committerJim Meyering <jim@meyering.net>2004-12-06 22:42:47 +0000
commitd28eb0923bb7f8e3c931120c3e6235db73404d3c (patch)
treefb44eb8b611690e64e707a455d6b88b0bf000182 /tests/du/files0-from
parent31ae5dcf8561201e3ab61b38bd6a02413b1a9a0a (diff)
downloadcoreutils-d28eb0923bb7f8e3c931120c3e6235db73404d3c.tar.xz
Sanitize environment.
Otherwise, e.g., BLOCKSIZE=k would cause a failure.
Diffstat (limited to 'tests/du/files0-from')
-rwxr-xr-xtests/du/files0-from2
1 files changed, 2 insertions, 0 deletions
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"