3
0

heredoc_huge.tests 259 B

123456789
  1. # This creates 120k heredoc
  2. echo 'cat <<HERE | md5sum' >"$0.tmp"
  3. yes "123456789 123456789 123456789 123456789" | head -3000 >>"$0.tmp"
  4. echo 'HERE' >>"$0.tmp"
  5. yes "123456789 123456789 123456789 123456789" | head -3000 | md5sum
  6. . "$0.tmp"
  7. rm "$0.tmp"
  8. echo End