Results for background.test.sh

statusoshosh_.pyosh_.cc
pass 161614
FAIL 224
total181818
caseoshosh_.pyosh_.ccdescription
0pass pass pass wait with nothing to wait for
1pass pass pass wait -n with nothing to wait for
2FAIL FAIL FAIL wait with jobspec syntax %nonexistent
detailsdetailsdetails
3pass pass pass wait with invalid PID
4pass pass pass wait with invalid arg
5pass pass pass Builtin in background
6pass pass pass External command in background
7pass pass pass Pipeline in Background
8FAIL FAIL FAIL Wait for job doesn't support PIPESTATUS
detailsdetailsdetails
9pass pass pass Brace group in background, wait all
10pass pass pass Wait on background process PID
11pass pass pass Wait on multiple specific IDs returns last status
12pass pass pass wait -n
13pass pass pass Async for loop
14pass pass pass Background process doesn't affect parent
15pass pass pass Background process and then a singleton pipeline
16pass pass FAIL jobs prints one line per job
details
17pass pass FAIL jobs -p prints one line per job
details
46 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

osh2 wait with jobspec syntax %nonexistent

[osh status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' doesn't support bash-style jobspecs (got '%nonexistent')
osh_.py2 wait with jobspec syntax %nonexistent

[osh_.py status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' doesn't support bash-style jobspecs (got '%nonexistent')
osh_.cc2 wait with jobspec syntax %nonexistent

[osh_.cc status] Expected 127, got 2

stdout:
stderr: 
  wait %nonexistent
       ^
[ stdin ]:1: 'wait' doesn't support bash-style jobspecs (got '%nonexistent')
osh8 Wait for job doesn't support PIPESTATUS

[osh stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n', got 'status=1 pipestatus=141 1\nstatus=0 pipestatus=141 1\nstatus=2 pipestatus=141 1\n'

stdout:
status=1 pipestatus=141 1
status=0 pipestatus=141 1
status=2 pipestatus=141 1
stderr:
  wait %+
       ^
[ stdin ]:7: 'wait' doesn't support bash-style jobspecs (got '%+')
osh_.py8 Wait for job doesn't support PIPESTATUS

[osh_.py stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n', got 'status=1 pipestatus=141 1\nstatus=0 pipestatus=141 1\nstatus=2 pipestatus=141 1\n'

stdout:
status=1 pipestatus=141 1
status=0 pipestatus=141 1
status=2 pipestatus=141 1
stderr:
  wait %+
       ^
[ stdin ]:7: 'wait' doesn't support bash-style jobspecs (got '%+')
osh_.cc8 Wait for job doesn't support PIPESTATUS

[osh_.cc stdout] Expected 'status=1 pipestatus=55 1\nstatus=0 pipestatus=0\nstatus=1 pipestatus=1\n', got 'status=1 pipestatus=\nstatus=0 pipestatus=\nstatus=2 pipestatus=\n'

stdout:
status=1 pipestatus=
status=0 pipestatus=
status=2 pipestatus=
stderr:
  wait %+
       ^
[ stdin ]:7: 'wait' doesn't support bash-style jobspecs (got '%+')
osh_.cc16 jobs prints one line per job

[osh_.cc stdout] Expected '2\n', got '0\n'

stdout:
0
stderr:
terminate called after throwing an instance of 'KeyError*'
osh_.cc17 jobs -p prints one line per job

[osh_.cc stdout] Expected '2\n2\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core