summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-02-02 13:10:23 +0000
committerJim Meyering <jim@meyering.net>2005-02-02 13:10:23 +0000
commit0c453a0d119f5c059297f3b93da0bdbfc450c1a1 (patch)
treed36b9f90317ddfe712b3c1b1742be608ac634bf3 /tests/du
parent806b788972f003b2bb9ba954e3df5490748d58d1 (diff)
downloadcoreutils-0c453a0d119f5c059297f3b93da0bdbfc450c1a1.tar.xz
Also adjust the test to detect systems that don't support sparse files.
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/8gb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/8gb b/tests/du/8gb
index 3557a009e..05e941191 100755
--- a/tests/du/8gb
+++ b/tests/du/8gb
@@ -29,7 +29,7 @@ fi
# NTFS requires 128K before a hole appears in a sparse file.
dd bs=1 seek=128K of=t < /dev/null 2> /dev/null
set x `du -sk t`
-if test "$2" = 64; then
+if test "$2" = 128; then
echo "$0: skipping this test, since this file system doesn't support" 1>&2
echo "$0: sparse files and this test requires a file with an apparent" 1>&2
echo "$0: size of 8GB" 1>&2