source: trunk/essentials/app-shells/bash/tests/jobs2.sub

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 216 bytes
Line 
1# make sure fg and bg don't work on jobs started without job control,
2# even if they are executed when job control is active
3set +o monitor
4
5sleep 30 &
6pid=$!
7
8set -m
9fg %1
10echo fg: $?
11
12exec 2>/dev/null
13kill -9 $pid
Note: See TracBrowser for help on using the repository browser.