diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-03 15:46:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-06 08:21:30 +0200 |
commit | 2656da4705eb26a30da6b51be18d9ba474bc4d00 (patch) | |
tree | 2806611b67476c76d7931eecd327cac84e6dc831 /tests/du/8gb | |
parent | 3269104d172bdc0c9ed0a01e6706f1f6e1a2bdda (diff) | |
download | coreutils-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-x | tests/du/8gb | 2 |
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 |