~sircmpwn/mrsh

8e6951a9ba70b79fc7b2f709a069f622df950559 — Simon Ser 6 months ago dd0a988
test: pipeline with subshell has been fixed

Closes: https://github.com/emersion/mrsh/issues/100
1 files changed, 3 insertions(+), 3 deletions(-)

M test/pipeline.sh
M test/pipeline.sh => test/pipeline.sh +3 -3
@@ 9,13 9,13 @@ echo "a b c d" | sed s/b/B/
echo >&2 "Pipeline with 3 commands"
echo "a b c d" | sed s/b/B/ | sed s/c/C/

#echo >&2 "Pipeline with bang"
echo >&2 "Pipeline with bang"
! false
echo $?

# https://github.com/emersion/mrsh/issues/100
#echo >&2 "Pipeline with subshell"
#(echo "a b"; echo "c d") | sed s/c/C/
echo >&2 "Pipeline with subshell"
(echo "a b"; echo "c d") | sed s/c/C/

# https://github.com/emersion/mrsh/issues/96
echo >&2 "Pipeline with brace group"