summaryrefslogtreecommitdiff
path: root/tests/du/8gb
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-03 15:46:41 +0200
committerJim Meyering <meyering@redhat.com>2008-05-06 08:21:30 +0200
commit2656da4705eb26a30da6b51be18d9ba474bc4d00 (patch)
tree2806611b67476c76d7931eecd327cac84e6dc831 /tests/du/8gb
parent3269104d172bdc0c9ed0a01e6706f1f6e1a2bdda (diff)
downloadcoreutils-2656da4705eb26a30da6b51be18d9ba474bc4d00.tar.xz
tests: move "sparse-file" into test-lib.sh
* tests/sparse-file: Remove file Move contents into ... * tests/test-lib.sh (require_sparse_support_): ...here. New function. * tests/cp/sparse: Use the function, not the file. * tests/du/8gb: Likewise. * tests/Makefile.am (EXTRA_DIST): Remove sparse-file.
Diffstat (limited to 'tests/du/8gb')
-rwxr-xr-xtests/du/8gb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/8gb b/tests/du/8gb
index b0a42c4ad..66f02e78b 100755
--- a/tests/du/8gb
+++ b/tests/du/8gb
@@ -22,8 +22,8 @@ if test "$VERBOSE" = yes; then
du --version
fi
-. $top_srcdir/tests/sparse-file
. $top_srcdir/tests/test-lib.sh
+require_sparse_support_
dd bs=1 seek=8G of=big < /dev/null 2> /dev/null
if test $? != 0; then