aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/builtin/echo.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-02-03 19:56:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-02-03 23:57:33 +0300
commit2c1aff8bf09a50189c3d0b2ff86ab057ca009749 (patch)
treedf20195c6833c4bb9eec8521c0f055393e65543f /tests/test/script/builtin/echo.test
parent044e2e1c1460fb060f677a366144b98905522754 (diff)
Fix runner output in verbose (-v, -V) modes
Diffstat (limited to 'tests/test/script/builtin/echo.test')
-rw-r--r--tests/test/script/builtin/echo.test14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/test/script/builtin/echo.test b/tests/test/script/builtin/echo.test
index 9e49a91..ac245c4 100644
--- a/tests/test/script/builtin/echo.test
+++ b/tests/test/script/builtin/echo.test
@@ -14,12 +14,14 @@ $c <'echo foo bar >"foo bar"' && $b
: big
:
-: Echo a big string (about 3MB) to test that the builtin is asynchronous.
+: Echo a big string (about 100K) to test that the builtin is asynchronous.
:
{
- s="------------------------------------------------------------------------"
- s="$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s"
- s="$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s"
- s="$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s"
- $c <"echo '$s' | cat >'$s'" && $b
+ $c <<EOI && $b
+ s="--------------------------------"
+ s="$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s"
+ s="$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s"
+ s="$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s$s"
+ echo "$s" | cat >"$s"
+ EOI
}