Results for pipeline.test.sh

statusoshosh_.pyosh_.cc
pass 2011
N-I 111
FAIL 01919
total212121
caseoshosh_.pyosh_.ccdescription
0pass FAIL FAIL Brace group in pipeline
detailsdetails
1pass FAIL FAIL For loop starts pipeline
detailsdetails
2pass FAIL FAIL While Loop ends pipeline
detailsdetails
3pass FAIL FAIL Redirect in Pipeline
detailsdetails
4pass FAIL FAIL Pipeline comments
detailsdetails
5pass FAIL FAIL Exit code is last status
detailsdetails
6pass FAIL FAIL PIPESTATUS
detailsdetails
7pass FAIL FAIL PIPESTATUS with shopt -s lastpipe
detailsdetails
8N-I N-I N-I |&
detailsdetailsdetails
9pass FAIL FAIL ! turns non-zero into zero
detailsdetails
10pass pass pass ! turns zero into 1
11pass FAIL FAIL ! in if
detailsdetails
12pass FAIL FAIL ! with ||
detailsdetails
13pass FAIL FAIL ! with { }
detailsdetails
14pass FAIL FAIL ! with ( )
detailsdetails
15pass FAIL FAIL ! is not a command
detailsdetails
16pass FAIL FAIL Evaluation of argv[0] in pipeline occurs in child
detailsdetails
17pass FAIL FAIL bash/dash/mksh run the last command is run in its own process
detailsdetails
18pass FAIL FAIL shopt -s lastpipe (always on in OSH)
detailsdetails
19pass FAIL FAIL shopt -s lastpipe (always on in OSH)
detailsdetails
20pass FAIL FAIL SIGPIPE causes pipeline to die (regression for issue #295)
detailsdetails
22 passed, 0 OK, 3 not implemented, 0 BUG, 38 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py0 Brace group in pipeline

[osh_.py stdout] Expected u'two\none\n', got ''

stdout:
stderr: 
osh_.cc0 Brace group in pipeline

[osh_.cc stdout] Expected u'two\none\n', got ''

stdout:
stderr: 
osh_.py1 For loop starts pipeline

[osh_.py stdout] Expected u'two\none\n', got ''

stdout:
stderr: 
osh_.cc1 For loop starts pipeline

[osh_.cc stdout] Expected u'two\none\n', got ''

stdout:
stderr: 
osh_.py2 While Loop ends pipeline

[osh_.py stdout] Expected u'.1\n.2\n.3\n', got ''

stdout:
stderr: 
osh_.cc2 While Loop ends pipeline

[osh_.cc stdout] Expected u'.1\n.2\n.3\n', got ''

stdout:
stderr: 
osh_.py3 Redirect in Pipeline

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

stdout:
stderr: 
osh_.cc3 Redirect in Pipeline

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

stdout:
stderr: 
osh_.py4 Pipeline comments

[osh_.py stdout] Expected 'ABCD\n', got ''

stdout:
stderr: 
osh_.cc4 Pipeline comments

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

stdout:
stderr: 
osh_.py5 Exit code is last status

[osh_.py status] Expected 1, got 0

stdout:
stderr: 
osh_.cc5 Exit code is last status

[osh_.cc status] Expected 1, got 0

stdout:
stderr: 
osh_.py6 PIPESTATUS

[osh_.py stdout] Expected '1 2 3\n', got '\n'

stdout:
stderr: 
osh_.cc6 PIPESTATUS

[osh_.cc stdout] Expected '1 2 3\n', got ''
[osh_.cc status] Expected 0, got -11

stdout:
stderr: 
osh_.py7 PIPESTATUS with shopt -s lastpipe

[osh_.py stdout] Expected '1 2 3\n', got '\n'

stdout:
stderr: 
osh_.cc7 PIPESTATUS with shopt -s lastpipe

[osh_.cc stdout] Expected '1 2 3\n', got ''
[osh_.cc status] Expected 0, got -11

stdout:
stderr: 
osh8 |&

stdout:
stderr: 
  stdout_stderr.py |& cat
                   ^~
[ stdin ]:1: fatal: |& isn't supported
osh_.py8 |&

stdout:
stderr: 
  stdout_stderr.py |& cat
                   ^~
[ stdin ]:1: fatal: |& isn't supported
osh_.cc8 |&

stdout:
stderr: 
[??? no location ???] fatal: |& isn't supported
osh_.py9 ! turns non-zero into zero

[osh_.py stdout] Expected '0\n', got '1\n'

stdout:
1
stderr:
osh_.cc9 ! turns non-zero into zero

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

stdout:
1
stderr:
osh_.py11 ! in if

[osh_.py stdout] Expected u'hi\nFALSE\n', got 'FALSE\n'

stdout:
FALSE
stderr:
osh_.cc11 ! in if

[osh_.cc stdout] Expected u'hi\nFALSE\n', got 'FALSE\n'

stdout:
FALSE
stderr:
osh_.py12 ! with ||

[osh_.py stdout] Expected u'hi\nFAILED\n', got 'FAILED\n'

stdout:
FAILED
stderr:
osh_.cc12 ! with ||

[osh_.cc stdout] Expected u'hi\nFAILED\n', got 'FAILED\n'

stdout:
FAILED
stderr:
osh_.py13 ! with { }

[osh_.py stdout] Expected u'1\n2\nFAILED\n', got 'FAILED\n'

stdout:
FAILED
stderr:
osh_.cc13 ! with { }

[osh_.cc stdout] Expected u'1\n2\nFAILED\n', got 'FAILED\n'

stdout:
FAILED
stderr:
osh_.py14 ! with ( )

[osh_.py stdout] Expected u'1\n2\nFAILED\n', got 'FAILED\n'

stdout:
FAILED
stderr:
osh_.cc14 ! with ( )

[osh_.cc stdout] Expected u'1\n2\nFAILED\n', got 'FAILED\n'

stdout:
FAILED
stderr:
osh_.py15 ! is not a command

[osh_.py status] Expected 127, got 1

stdout:
stderr: 
Error running ['!', 'echo', 'hi']: [Errno 2] No such file or directory
osh_.cc15 ! is not a command

[osh_.cc status] Expected 127, got 0

stdout:
(cmd_value.Argv argv:['!' echo hi] arg_spids:[5 7 9])
stderr:
Unhandled SimpleCommand
osh_.py16 Evaluation of argv[0] in pipeline occurs in child

[osh_.py stdout] Expected '1\ncmd=\n', got 'cmd=\n'

stdout:
cmd=
stderr:
osh_.cc16 Evaluation of argv[0] in pipeline occurs in child

[osh_.cc stdout] Expected '1\ncmd=\n', got 'cmd=\n'

stdout:
cmd=
stderr:
osh_.py17 bash/dash/mksh run the last command is run in its own process

[osh_.py stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
osh_.cc17 bash/dash/mksh run the last command is run in its own process

[osh_.cc stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
osh_.py18 shopt -s lastpipe (always on in OSH)

[osh_.py stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
osh_.cc18 shopt -s lastpipe (always on in OSH)

[osh_.cc stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
osh_.py19 shopt -s lastpipe (always on in OSH)

[osh_.py stdout] Expected 'i=3\n', got 'i=0\n'

stdout:
i=0
stderr:
osh_.cc19 shopt -s lastpipe (always on in OSH)

[osh_.cc stdout] Expected 'i=3\n', got 'i=0\n'

stdout:
i=0
stderr:
osh_.py20 SIGPIPE causes pipeline to die (regression for issue #295)

[osh_.py stdout] Expected '141 0\n', got '\n'

stdout:
stderr: 
osh_.cc20 SIGPIPE causes pipeline to die (regression for issue #295)

[osh_.cc stdout] Expected '141 0\n', got ''
[osh_.cc status] Expected 0, got -11

stdout:
stderr: