diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:42 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-03 12:38:04 -0700 |
commit | 0590ff26c406204281262c2753b3b92aa07f59c7 (patch) | |
tree | 59857964cf6ade6e1600e150e795e3ae4d347210 /t/t9108-git-svn-glob.sh | |
parent | t: use test_might_fail() instead of manipulating exit code manually (diff) | |
download | tgif-0590ff26c406204281262c2753b3b92aa07f59c7.tar.xz |
t: use test_write_lines() instead of series of 'echo' commands
These tests employ a noisy subshell (with missing &&-chain) to feed
input into Git commands or files:
(echo a; echo b; echo c) | git some-command ...
Simplify by taking advantage of test_write_lines():
test_write_lines a b c | git some-command ...
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9108-git-svn-glob.sh')
0 files changed, 0 insertions, 0 deletions