diff options
Diffstat (limited to 'tests/du/basic')
-rwxr-xr-x | tests/du/basic | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/du/basic b/tests/du/basic index 69761c9bf..0aaf64687 100755 --- a/tests/du/basic +++ b/tests/du/basic @@ -20,8 +20,12 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 mkdir -p a/b d d/sub || framework_failure=1 printf 'make-sure-the-file-is-non-empty\n' > a/b/F || framework_failure=1 -echo nonempty-file > d/1 -echo nonempty-file > d/sub/2 + +# Ensure that these files contain more than 64 bytes, so that we don't +# immediately disqualify file systems (e.g., NetApp) on which smaller +# files take up zero disk blocks. +seq 200 > d/1 +seq 200 > d/sub/2 if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2 |