diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-22 22:48:11 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-22 22:48:11 -0800 |
commit | d52da628013ad333e056432057da8b61042c6cfc (patch) | |
tree | 3697116d393edc66304d0e3bf7e73b0262e9d960 /t/chainlint/subshell-one-liner.expect | |
parent | Merge branch 'jz/apply-quiet-and-allow-empty' (diff) | |
parent | chainlint.sed: stop splitting "(..." into separate lines "(" and "..." (diff) | |
download | tgif-d52da628013ad333e056432057da8b61042c6cfc.tar.xz |
Merge branch 'es/chainlint'
The chainlint test script linter in the test suite has been updated.
* es/chainlint:
chainlint.sed: stop splitting "(..." into separate lines "(" and "..."
chainlint.sed: swallow comments consistently
chainlint.sed: stop throwing away here-doc tags
chainlint.sed: don't mistake `<< word` in string as here-doc operator
chainlint.sed: make here-doc "<<-" operator recognition more POSIX-like
chainlint.sed: drop subshell-closing ">" annotation
chainlint.sed: drop unnecessary distinction between ?!AMP?! and ?!SEMI?!
chainlint.sed: tolerate harmless ";" at end of last line in block
chainlint.sed: improve ?!SEMI?! placement accuracy
chainlint.sed: improve ?!AMP?! placement accuracy
t/Makefile: optimize chainlint self-test
t/chainlint/one-liner: avoid overly intimate chainlint.sed knowledge
t/chainlint/*.test: generalize self-test commentary
t/chainlint/*.test: fix invalid test cases due to mixing quote types
t/chainlint/*.test: don't use invalid shell syntax
Diffstat (limited to 't/chainlint/subshell-one-liner.expect')
-rw-r--r-- | t/chainlint/subshell-one-liner.expect | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/chainlint/subshell-one-liner.expect b/t/chainlint/subshell-one-liner.expect index 51162821d7..b7015361bf 100644 --- a/t/chainlint/subshell-one-liner.expect +++ b/t/chainlint/subshell-one-liner.expect @@ -2,13 +2,13 @@ (foo && bar) && (foo && bar) | (foo && bar) >baz && -?!SEMI?! (foo; bar) && -?!SEMI?! (foo; bar) | -?!SEMI?! (foo; bar) >baz && + (foo; ?!AMP?! bar) && + (foo; ?!AMP?! bar) | + (foo; ?!AMP?! bar) >baz && (foo || exit 1) && (foo || exit 1) | (foo || exit 1) >baz && -?!AMP?! (foo && bar) -?!AMP?!?!SEMI?! (foo && bar; baz) + (foo && bar) ?!AMP?! + (foo && bar; ?!AMP?! baz) ?!AMP?! foobar ->) +) |