git/t/chainlint/multi-line-nested-command-s...

21 lines
204 B
Plaintext

test_expect_success 'multi-line-nested-command-substitution' '
(
foo &&
x=$(
echo bar |
cat
) &&
echo ok
) |
sort &&
(
bar &&
x=$(echo bar |
cat
) &&
y=$(echo baz |
fip) &&
echo fail
)
'