Ensure that a/b/F has at least 65 bytes too.
authorJim Meyering <jim@meyering.net>
Sat, 9 Aug 2003 11:38:57 +0000 (11:38 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 9 Aug 2003 11:38:57 +0000 (11:38 +0000)
tests/du/basic

index ab651f8..e2ef5cd 100755 (executable)
@@ -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