From: Jim Meyering Date: Sat, 9 Aug 2003 11:38:57 +0000 (+0000) Subject: Ensure that a/b/F has at least 65 bytes too. X-Git-Tag: CPPI-1_11~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b56ea9ff53dc44a21db79a42f6d54501f8f1624;p=thirdparty%2Fcoreutils.git Ensure that a/b/F has at least 65 bytes too. --- diff --git a/tests/du/basic b/tests/du/basic index ab651f8fe1..e2ef5cd1c4 100755 --- a/tests/du/basic +++ b/tests/du/basic @@ -19,11 +19,11 @@ framework_failure=0 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 # 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. +printf '%*s' 65 make-sure-the-file-is-non-empty > a/b/F || framework_failure=1 seq --format=%100g 1 90 | head --bytes=4k > d/1 cp d/1 d/sub/2