summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-12-02 22:04:13 +0100
committerJim Meyering <jim@meyering.net>2006-12-02 22:04:13 +0100
commit6e7e2709c865504d72592dd7d5ee9382230ee169 (patch)
treeb005922bb83568874022887ca0ba66d8d8df35ab /tests/du
parentaa0fb1e032e2986a68eddf7b73d5fc1970b2ebb7 (diff)
downloadcoreutils-6e7e2709c865504d72592dd7d5ee9382230ee169.tar.xz
* tests/du/basic: Generate 4KB file simply using printf, rather than
seq+head. This avoids a spurious "Broken pipe" diagnostic from seq.
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/basic2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/basic b/tests/du/basic
index 325e5acff..d03ce0c16 100755
--- a/tests/du/basic
+++ b/tests/du/basic
@@ -41,7 +41,7 @@ mkdir -p a/b d d/sub || framework_failure=1
# immediately disqualify file systems (e.g., NetApp) on which smaller
# files take up zero disk blocks.
printf '%*s' 257 make-sure-the-file-is-non-empty > a/b/F || framework_failure=1
-seq --format=%100g 1 90 | head --bytes=4k > d/1
+printf %4096s x > d/1
cp d/1 d/sub/2
if test $framework_failure = 1; then