Results for pipeline.test.sh

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

Details on runs that didn't PASS

osh7 PIPESTATUS is set on simple commands, but NOT in OSH

stdout:
pipestatus
stderr:
osh-cpp7 PIPESTATUS is set on simple commands, but NOT in OSH

stdout:
pipestatus
stderr:
osh9 |&

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

stdout:
stderr: 
  stdout_stderr.py |& cat
                   ^~
[ stdin ]:1: fatal: |& isn't supported
osh24 shopt -s lastpipe and shopt -s no_last_fork interaction

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

stdout:
0
status=1
0
status=0
stderr:
osh-cpp24 shopt -s lastpipe and shopt -s no_last_fork interaction

[osh-cpp stdout] Expected '0\nstatus=1\n0\nstatus=1\n', got '0\nstatus=1\n0\nstatus=0\n'

stdout:
0
status=1
0
status=0
stderr: