summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-misc/heredoc_huge.tests
blob: c2ec2817b71cc6e3e8a2c428667f34c0c9a480a5 (plain)
1
2
3
4
5
6
7
8
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