1 ./jobs2.sub: fg: job %1 started without job control
20 ./jobs.tests: wait: job control not enabled
21 ./jobs.tests: fg: no job control
24 ./jobs.tests: wait: `1-1' is not a pid or valid job spec
25 ./jobs.tests: wait: `-4' is not a pid or valid job spec
26 wait-for-background-pids
27 async list wait-for-background-pids
28 async list wait for child
32 ./jobs.tests: wait: %2: no such job
34 async list wait-for-job
45 ./jobs.tests: fg: %2: no such job
46 ./jobs.tests: bg: bg background job?
48 ./jobs.tests: fg: illegal option: -s
49 fg: usage: fg [job_spec]
50 ./jobs.tests: bg: illegal option: -s
51 bg: usage: bg [job_spec]
52 ./jobs.tests: disown: illegal option: -s
53 disown: usage: disown [-h] [-ar] [jobspec ...]
54 ./jobs.tests: disown: %1: no such job
55 ./jobs.tests: disown: %2: no such job
57 ./jobs.tests: wait: pid 1 is not a child of this shell
59 3 -- 1 2 3 -- 1 - 2 - 3
60 [1] Running sleep 300 &
61 [2]- Running sleep 350 &
62 [3]+ Running sleep 400 &
64 [1] Running sleep 300 &
65 [2]- Running sleep 350 &
66 [3]+ Running sleep 400 &
67 ./jobs.tests: kill: %4: no such job
68 ./jobs.tests: jobs: no such job %4
70 [3]+ Running sleep 400 &
72 [2]- Running sleep 350 &
75 [1] Running sleep 300 &
76 [3]- Running sleep 400 &
78 [2]+ Stopped sleep 350
80 [2]+ Stopped sleep 350
81 [3]- Running sleep 400 &
83 [3]- Running sleep 400 &
85 [2]+ Stopped sleep 350
88 [2]+ Running sleep 350 &
89 [3]- Running sleep 400 &
91 after kill -STOP, backgrounding %3:
95 after KILL -STOP, foregrounding %1