Re: [PATCH v2 1/6] t0080: move expected output to a file
- From
Jeff King <peff@peff.net>
- Date
- Jul 23, 2024, 20:54 UTC
- Message-ID
- <20240723205414.GC6779@coredump.intra.peff.net>
- In-Reply-To
- <af5b8fef-073a-4e85-b660-9672b7d5f629@web.de>
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