summaryrefslogtreecommitdiff
path: root/tests/du/no-deref
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/no-deref
parent31ae5dcf8561201e3ab61b38bd6a02413b1a9a0a (diff)
downloadcoreutils-d28eb0923bb7f8e3c931120c3e6235db73404d3c.tar.xz
Sanitize environment.
Otherwise, e.g., BLOCKSIZE=k would cause a failure.
Diffstat (limited to 'tests/du/no-deref')
-rwxr-xr-xtests/du/no-deref2
1 files changed, 2 insertions, 0 deletions
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