]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* tests/du/deref-args: Use "printf %65536s x" to create a 64KB file,
authorJim Meyering <jim@meyering.net>
Thu, 23 Nov 2006 08:09:53 +0000 (09:09 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 23 Nov 2006 08:09:53 +0000 (09:09 +0100)
rather than a pipeline that would sometimes evoke a diagnostic
like "seq: write error: Broken pipe".

ChangeLog
tests/du/deref-args

index 1d7e469ddde9d9e253e8dd7e8a8051a9144b9e74..4887e934c3bd4883a3504ec19ca57a79b4d81251 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-11-23  Jim Meyering  <jim@meyering.net>
 
+       * tests/du/deref-args: Use "printf %65536s x" to create a 64KB file,
+       rather than a pipeline that would sometimes evoke a diagnostic
+       like "seq: write error: Broken pipe".
+
        * tests/help-version: Suppress dd transfer rate output.
 
        * configure.ac (AC_INIT): Bump to 6.7-pre, not 6.6-pre.
index 1358325de70d4e991be35c59b9e17eb1118dde11..79225f5de7571b77d179d2dc435bebbae2b773e4 100755 (executable)
@@ -36,7 +36,7 @@ mkdir -p $tmp || framework_failure=1
 cd $tmp || framework_failure=1
 mkdir -p dir/a
 ln -s dir slink
-seq --format=%100g 900 | head --bytes=64k > 64k
+printf %65536s x > 64k
 ln -s 64k slink-to-64k
 
 if test $framework_failure = 1; then