From: Jim Meyering Date: Tue, 11 Mar 2003 20:23:31 +0000 (+0000) Subject: Make the test larger than 64 bytes, so that we don't X-Git-Tag: v4.5.10~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a3dc4c76ce4dd2e0d92c471dc68242933d0e03f;p=thirdparty%2Fcoreutils.git Make the test larger than 64 bytes, so that we don't immediately disqualify file systems (e.g., NetApp) on which smaller files take up zero disk blocks. --- diff --git a/tests/du/basic b/tests/du/basic index 69761c9bf4..0aaf64687f 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