summaryrefslogtreecommitdiffstats
path: root/tests/jobs7.sub
blob: 3e76db37b52cf15488307ab4f62016081ebf19af (plain)
1
2
3
4
5
6
# make sure fg in a subshell doesn't try to start a parent's job
set -m
sleep 20 &
echo $(jobs)
echo $(fg %% ; jobs)
kill %1