On Sun, Jul 21, 2024 at 08:15:48AM +0200, René Scharfe wrote: > Provide the expected output of "test-tool example-tap" verbatim instead > of as a here-doc, to avoid distractions due to quoting, variables > containing quotes and indentation. Just to bring our earlier conversation full circle, you can do now do this with: test_expect_success 'TAP output from unit tests' - <<\EOT cat >expect <<-\EOF ... EOF EOT since those patches are in master. But I'm OK if you don't want to bother with it. -Peff