Results for pipeline.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 24212012232324
ok 1100000
N-I 0300001
BUG 1100000
FAIL 00613331
TIME 0001000
total26262626262626
casebashmkshkshtoyshsushbrushoshdescription
0pass pass pass pass pass pass pass Brace group in pipeline
1pass pass pass FAIL pass pass pass For loop starts pipeline
details
2pass pass pass FAIL pass pass pass While Loop ends pipeline
details
3pass pass pass pass pass pass pass Redirect in Pipeline
4pass pass pass pass pass pass pass Pipeline comments
5pass pass pass pass pass pass pass Exit code is last status
6pass BUG FAIL FAIL pass FAIL pass Initial value of PIPESTATUS is empty string
detailsdetailsdetailsdetails
7pass pass pass FAIL pass pass pass PIPESTATUS
details
8pass pass pass FAIL FAIL pass FAIL PIPESTATUS is set on simple commands
detailsdetailsdetails
9pass pass pass FAIL pass pass pass PIPESTATUS with shopt -s lastpipe
details
10pass N-I FAIL pass pass pass N-I |&
detailsdetailsdetails
11pass pass pass pass pass pass pass ! turns non-zero into zero
12pass pass pass pass pass pass pass ! turns zero into 1
13pass pass pass pass pass pass pass ! in if
14pass pass pass pass pass pass pass ! with ||
15pass pass pass FAIL pass pass pass ! with { }
details
16pass pass pass FAIL pass pass pass ! with ( )
details
17pass pass pass pass pass pass pass ! is not a command
18pass pass pass FAIL FAIL pass pass Evaluation of argv[0] in pipeline occurs in child
detailsdetails
19ok ok FAIL FAIL FAIL FAIL pass bash/dash/mksh run the last command is run in its own process
detailsdetailsdetailsdetailsdetailsdetails
20pass N-I FAIL FAIL pass pass pass shopt -s lastpipe (always on in OSH)
detailsdetailsdetails
21pass N-I FAIL FAIL pass pass pass shopt -s lastpipe (always on in OSH)
detailsdetailsdetails
22BUG pass FAIL TIME pass pass pass SIGPIPE causes pipeline to die (regression for issue #295)
detailsdetailsdetails
23pass pass pass pass pass pass pass Nested pipelines
24pass pass pass pass pass pass pass Pipeline in eval
25pass pass pass FAIL pass FAIL pass shopt -s lastpipe and shopt -s no_last_fork interaction
detailsdetails
147 passed, 2 OK, 4 not implemented, 2 BUG, 26 failed, 1 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

toysh1 For loop starts pipeline

[toysh stdout] Expected 'two\none\n', got ''

stdout:
stderr: 
toysh2 While Loop ends pipeline

[toysh stdout] Expected '.1\n.2\n.3\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: read: No such file or directory
sh: 1: No such file or directory
sh: 2: No such file or directory
sh: 3: No such file or directory
mksh6 Initial value of PIPESTATUS is empty string

stdout:
pipestatus 0
stderr:
ksh6 Initial value of PIPESTATUS is empty string

[ksh stdout] Expected 'pipestatus\n', got 'pipestatus 0\n'

stdout:
pipestatus 0
stderr:
toysh6 Initial value of PIPESTATUS is empty string

[toysh stdout] Expected 'pipestatus\n', got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
brush6 Initial value of PIPESTATUS is empty string

[brush stdout] Expected 'pipestatus\n', got 'pipestatus 0\n'

stdout:
pipestatus 0
stderr:
toysh7 PIPESTATUS

[toysh stdout] Expected '1 2 3\n', got '\n'

stdout:
stderr: 
toysh8 PIPESTATUS is set on simple commands

[toysh stdout] Expected 'pipestatus 1\npipestatus 55 44\npipestatus 0\n' Got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
sush8 PIPESTATUS is set on simple commands

[sush stdout] Expected 'pipestatus 1\npipestatus 55 44\npipestatus 0\n' Got 'pipestatus\npipestatus 55 44\npipestatus 0\n'

stdout:
pipestatus
pipestatus 55 44
pipestatus 0
stderr:
osh8 PIPESTATUS is set on simple commands

[osh stdout] Expected 'pipestatus 1\npipestatus 55 44\npipestatus 0\n' Got 'pipestatus\npipestatus 55 44\npipestatus 55 44\n'

stdout:
pipestatus
pipestatus 55 44
pipestatus 55 44
stderr:
toysh9 PIPESTATUS with shopt -s lastpipe

[toysh stdout] Expected '1 2 3\n', got '\n'

stdout:
stderr: 
sh: shopt: No such file or directory
mksh10 |&

stdout:
stderr: 
STDERR
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
ksh10 |&

[ksh stdout] Expected 'STDERR\nSTDOUT\n', got ''

stdout:
stderr: 
STDERR
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
osh10 |&

stdout:
stderr: 
  stdout_stderr.py |& cat
                   ^~
[ stdin ]:1: fatal: |& isn't supported
toysh15 ! with { }

[toysh stdout] Expected '1\n2\nFAILED\n', got ''
[toysh status] Expected 0, got 2

stdout:
stderr: 
main: line 1: sh: syntax error: }
toysh16 ! with ( )

[toysh stdout] Expected '1\n2\nFAILED\n', got ''
[toysh status] Expected 0, got 2

stdout:
stderr: 
main: line 1: sh: syntax error: echo
toysh18 Evaluation of argv[0] in pipeline occurs in child

[toysh stdout] Expected '1\ncmd=\n', got '1\ncmd=echo\n'

stdout:
1
cmd=echo
stderr:
sush18 Evaluation of argv[0] in pipeline occurs in child

[sush stdout] Expected '1\ncmd=\n', got '1\ncmd=echo\n'

stdout:
1
cmd=echo
stderr:
bash19 bash/dash/mksh run the last command is run in its own process

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

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

[ksh stdout] Expected 'line=hi\n', got 'line=\n'

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

[toysh stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
sh: read: No such file or directory
sush19 bash/dash/mksh run the last command is run in its own process

[sush stdout] Expected 'line=hi\n', got 'line=\n'

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

[brush stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
mksh20 shopt -s lastpipe (always on in OSH)

stdout:
line=
stderr:
mksh: <stdin>[1]: shopt: not found
ksh20 shopt -s lastpipe (always on in OSH)

[ksh stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
toysh20 shopt -s lastpipe (always on in OSH)

[toysh stdout] Expected 'line=hi\n', got 'line=\n'

stdout:
line=
stderr:
sh: shopt: No such file or directory
sh: read: No such file or directory
mksh21 shopt -s lastpipe (always on in OSH)

stdout:
i=0
stderr:
mksh: <stdin>[1]: shopt: not found
ksh21 shopt -s lastpipe (always on in OSH)

[ksh stdout] Expected 'i=3\n', got 'i=0\n'

stdout:
i=0
stderr:
E: ksh: <stdin>[1]: shopt: inaccessible or not found
toysh21 shopt -s lastpipe (always on in OSH)

[toysh stdout] Expected 'i=3\n', got 'i=0\n'

stdout:
i=0
stderr:
sh: shopt: No such file or directory
sh: read: No such file or directory
bash22 SIGPIPE causes pipeline to die (regression for issue #295)

stdout:
1 0
stderr:
cat: write error: Broken pipe
ksh22 SIGPIPE causes pipeline to die (regression for issue #295)

[ksh stdout] Expected '141 0\n', got '1 0\n'

stdout:
1 0
stderr:
cat: write error: Broken pipe
toysh25 shopt -s lastpipe and shopt -s no_last_fork interaction

[toysh stdout] Expected '0\nstatus=1\n0\nstatus=1\n', got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
brush25 shopt -s lastpipe and shopt -s no_last_fork interaction

[brush stdout] Expected '0\nstatus=1\n0\nstatus=1\n', got '0\nstatus=0\n0\nstatus=0\n'

stdout:
0
status=0
0
status=0
stderr:
shopt: no_fork_last: invalid shell option name