summaryrefslogtreecommitdiffstats
path: root/tests/procsub1.sub
blob: 0e68f3b23dabf1396cd49f799fb43d94b20b00f7 (plain)
1
2
3
4
5
# make sure we can wait for the last process substitution, since it sets $!
cat <(exit 123) >/dev/null

wait "$!"
echo $?