Make the test file exactly 4k bytes long.
authorJim Meyering <jim@meyering.net>
Tue, 11 Mar 2003 22:20:54 +0000 (22:20 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 11 Mar 2003 22:20:54 +0000 (22:20 +0000)
ChangeLog
tests/du/basic

index c1d1251..005fec0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * Version 4.5.10.
 
+       * tests/du/basic: Make the test file exactly 4k bytes long.
+
        * src/split.c (longopts): Don't hard-code `2' here.
        Instead, just specify `&verbose', and ...
        (main): ... remove the `case 2:' block for --verbose.
index 0aaf646..7a6bd6a 100755 (executable)
@@ -24,8 +24,8 @@ 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.
-seq 200 > d/1
-seq 200 > d/sub/2
+yes | head --bytes=4k > d/1
+yes | head --bytes=4k > d/sub/2
 
 if test $framework_failure = 1; then
   echo "$0: failure in testing framework" 1>&2