Re: [PATCH 14/29] t: drop subshell with missing &&-chain in favor of simpler construct
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 26, 2018, 19:31 UTC
- Message-ID
- <xmqqsh59jqea.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180626073001.6555-15-sunshine@sunshineco.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 8 quoted lines
> These tests employ a noisy subshell (with missing &&-chain) to feed > input into Git commands: > > (echo a; echo b; echo c) | git some-command ... > > Drop the subshell in favor of a simple 'printf': > > printf "%s\n" a b c | git some-command ...
That's called test_write_lines, I think.