diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-11 22:20:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-11 22:20:54 +0000 |
commit | 97002b08a85143a0f63b4fd934c235c9257df98c (patch) | |
tree | 6973c205b5accd22c3a0ce2c047f969472f312df | |
parent | 73408e50afadc262b9e1b193c9b4ae7a57f0145f (diff) | |
download | coreutils-97002b08a85143a0f63b4fd934c235c9257df98c.tar.xz |
Make the test file exactly 4k bytes long.
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | tests/du/basic | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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. diff --git a/tests/du/basic b/tests/du/basic index 0aaf64687..7a6bd6ad2 100755 --- a/tests/du/basic +++ b/tests/du/basic @@ -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 |