Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / tests / jobs.right
index 9a10c35..12bf8a3 100644 (file)
@@ -1,4 +1,4 @@
-./jobs2.sub: fg: job %1 started without job control
+./jobs2.sub: line 9: fg: job %1 started without job control
 fg: 1
 Waiting for job 0
 job 0 returns 0
@@ -17,19 +17,19 @@ job 6 returns 0
 Waiting for job 7
 job 7 returns 0
 0
-./jobs.tests: wait: job control not enabled
-./jobs.tests: fg: no job control
+./jobs.tests: line 15: wait: no job control
+./jobs.tests: line 20: fg: no job control
 wait-for-pid
 wait-errors
-./jobs.tests: wait: `1-1' is not a pid or valid job spec
-./jobs.tests: wait: `-4' is not a pid or valid job spec
+./jobs.tests: line 33: wait: `1-1': not a pid or valid job spec
+./jobs.tests: line 34: wait: `-4': not a pid or valid job spec
 wait-for-background-pids
 async list wait-for-background-pids
 async list wait for child
 forked
 wait-when-no-children
 wait-for-job
-./jobs.tests: wait: %2: no such job
+./jobs.tests: line 56: wait: %2: no such job
 127
 async list wait-for-job
 forked
@@ -42,19 +42,19 @@ sleep 5
 fg-bg 4
 sleep 5
 fg-bg 5
-./jobs.tests: fg: %2: no such job
-./jobs.tests: bg: bg background job?
+./jobs.tests: line 83: fg: %2: no such job
+./jobs.tests: line 84: bg: bg background job?
 fg-bg 6
-./jobs.tests: fg: illegal option: -s
+./jobs.tests: line 91: fg: -s: invalid option
 fg: usage: fg [job_spec]
-./jobs.tests: bg: illegal option: -s
+./jobs.tests: line 92: bg: -s: invalid option
 bg: usage: bg [job_spec]
-./jobs.tests: disown: illegal option: -s
+./jobs.tests: line 97: disown: -s: invalid option
 disown: usage: disown [-h] [-ar] [jobspec ...]
-./jobs.tests: disown: %1: no such job
-./jobs.tests: disown: %2: no such job
+./jobs.tests: line 101: disown: %1: no such job
+./jobs.tests: line 104: disown: %2: no such job
 wait-for-non-child
-./jobs.tests: wait: pid 1 is not a child of this shell
+./jobs.tests: line 107: wait: pid 1 is not a child of this shell
 127
 3 -- 1 2 3 -- 1 - 2 - 3
 [1]   Running                 sleep 300 &
@@ -64,8 +64,8 @@ running jobs:
 [1]   Running                 sleep 300 &
 [2]-  Running                 sleep 350 &
 [3]+  Running                 sleep 400 &
-./jobs.tests: kill: %4: no such job
-./jobs.tests: jobs: no such job %4
+./jobs.tests: line 123: kill: %4: no such job
+./jobs.tests: line 125: jobs: %4: no such job
 current job:
 [3]+  Running                 sleep 400 &
 previous job: