From: Jim Meyering Date: Wed, 2 Feb 2005 13:10:23 +0000 (+0000) Subject: Also adjust the test to detect systems that don't support sparse files. X-Git-Tag: CPPI-1_12~1516 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c453a0d119f5c059297f3b93da0bdbfc450c1a1;p=thirdparty%2Fcoreutils.git Also adjust the test to detect systems that don't support sparse files. --- diff --git a/tests/du/8gb b/tests/du/8gb index 3557a009e9..05e9411914 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