summaryrefslogtreecommitdiff
path: root/tests/du/8gb
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-02-02 14:14:28 +0000
committerJim Meyering <jim@meyering.net>2005-02-02 14:14:28 +0000
commit8fecea5296f39678a5072aa59e658fc75b25f1d6 (patch)
treec3509db10acf87b82fc788b6c7670c563d1a6f21 /tests/du/8gb
parent0c453a0d119f5c059297f3b93da0bdbfc450c1a1 (diff)
downloadcoreutils-8fecea5296f39678a5072aa59e658fc75b25f1d6.tar.xz
Check for $2 -ge 128, rather than $2 = 128, in case
there is a file system type that doesn't support sparse files, yet for which metadata takes up additional space.
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 05e941191..c777d6663 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" = 128; then
+if test "$2" -ge 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