]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/exec13.sub
Bash-5.0 patch 17: better fix for reaping process substitution file descriptors
[thirdparty/bash.git] / tests / exec13.sub
CommitLineData
a0c0a00f
CR
1echo x1 | ( cat & wait )
2echo x1a | ( :& cat & wait )
3
4echo x2 | for f in 1; do
5 cat & wait
6done
7echo x2a | if true; then cat & wait; fi
8echo x2b | for (( i=0; i < 1; i++ )) ; do cat & wait; done
9
10echo x3 | { cat & wait; }
11
12lambda() { cat & wait; }
13echo x3a | lambda
14
15: ${TMPDIR:=/tmp}
16SRCF=$TMPDIR/bash-src-$$
17cat > $SRCF << \EOF
18cat & wait
19EOF
20echo x3b | . $SRCF
21rm -f $SRCF