sh testsuite: create hush-heredoc/* and move files around
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
9
shell/hush_test/hush-heredoc/heredoc_huge.tests
Executable file
9
shell/hush_test/hush-heredoc/heredoc_huge.tests
Executable file
@@ -0,0 +1,9 @@
|
||||
# This creates 120k heredoc
|
||||
echo 'cat <<HERE | md5sum' >"$0.tmp"
|
||||
yes "123456789 123456789 123456789 123456789" | head -3000 >>"$0.tmp"
|
||||
echo 'HERE' >>"$0.tmp"
|
||||
|
||||
yes "123456789 123456789 123456789 123456789" | head -3000 | md5sum
|
||||
. "$0.tmp"
|
||||
rm "$0.tmp"
|
||||
echo End
|
Reference in New Issue
Block a user