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/cp/sparse | |
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/cp/sparse')
-rwxr-xr-x | tests/cp/sparse | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/sparse b/tests/cp/sparse index dfb348db3..0d915df57 100755 --- a/tests/cp/sparse +++ b/tests/cp/sparse @@ -21,8 +21,8 @@ if test "$VERBOSE" = yes; then cp --version fi -. $top_srcdir/tests/sparse-file . $top_srcdir/tests/test-lib.sh +require_sparse_support_ # Create a sparse file. # It has to be at least 128K in order to be sparse on some systems. |