summaryrefslogtreecommitdiff
path: root/tests/du/2g
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-30 23:22:21 +0100
committerJim Meyering <meyering@redhat.com>2008-02-09 10:30:33 +0100
commit52d9bba7126de635eb356e3b379c5e4659ce2462 (patch)
tree2de754ceff1eebc737d58b5b5b5e118cf9ab987d /tests/du/2g
parent0f197c8acd0b74a4496284491b59ceea84f8652b (diff)
downloadcoreutils-52d9bba7126de635eb356e3b379c5e4659ce2462.tar.xz
tests: move the very-expensive file into test-lib.sh
* tests/very-expensive: Remove file. * tests/test-lib.sh (very_expensive_): New function. * tests/Makefile.am (EXTRA_DIST): Remove very-expensive. * tests/cp/perm: Call the new function, rather than sourcing the file. * tests/tail-2/assert: Likewise. * tests/tail-2/assert-2: Likewise. * tests/du/2g: Likewise.
Diffstat (limited to 'tests/du/2g')
-rwxr-xr-xtests/du/2g6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/du/2g b/tests/du/2g
index ea2d6c784..a19b8ab4f 100755
--- a/tests/du/2g
+++ b/tests/du/2g
@@ -23,11 +23,11 @@ if test "$VERBOSE" = yes; then
du --version
fi
-# Creating a 2GB file counts as `very expensive'.
-. $srcdir/../very-expensive
-
. $srcdir/../test-lib.sh
+# Creating a 2GB file counts as `very expensive'.
+very_expensive_
+
fail=0
# Get number of free kilobytes on current partition, so we can