summaryrefslogtreecommitdiff
path: root/t/t3004-ls-files-basic.sh
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2018-07-30 12:07:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-30 13:58:16 -0700
commit6a8ad880f02e8399c2fcb4aec0d42fb6e4287ebb (patch)
treefc9c39e5550ecb560fcf5481aa7a07cbc9cb1b20 /t/t3004-ls-files-basic.sh
parentsubtree test: add missing && to &&-chain (diff)
downloadtgif-6a8ad880f02e8399c2fcb4aec0d42fb6e4287ebb.tar.xz
subtree test: simplify preparation of expected results
This mixture of quoting, pipes, and here-docs to produce expected results in shell variables is difficult to follow. Simplify by using simpler constructs that write output to files instead. Noticed because without this patch, t/chainlint is not able to understand the script in order to validate that its subshells use an unbroken &&-chain, causing "make -C contrib/subtree test" to fail with error: bug in the test script: broken &&-chain or run-away HERE-DOC: in t7900.21. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3004-ls-files-basic.sh')
0 files changed, 0 insertions, 0 deletions