]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/exec9.sub
Bash-4.3 patch 4
[thirdparty/bash.git] / tests / exec9.sub
CommitLineData
495aee44
CR
1# make sure commands before the last one in the pipeline can't change $?
2false
3false | echo $?
4false
5(false) | echo $?
6
7false
8true | echo $?
9false
10(true) | echo $?
11
12true
13false | echo $?
14true
15(false) | echo $?
16
17true
18true | echo $?
19true
20(true) | echo $?