Results for pipeline.test.sh

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

Details on runs that didn't PASS

osh_.cc0 Brace group in pipeline

[osh_.cc stdout] Expected u'two\none\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc1 For loop starts pipeline

[osh_.cc stdout] Expected u'two\none\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc2 While Loop ends pipeline

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc3 Redirect in Pipeline

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc4 Pipeline comments

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc5 Exit code is last status

[osh_.cc status] Expected 1, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc6 PIPESTATUS

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc7 PIPESTATUS with shopt -s lastpipe

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
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

dumb_alloc:
	gNumNew = 1637
	gNumDelete = 98
	gMemPos = 57968

	gNumMalloc = 25
	gNumFree = 0
	gMemPos2 = 8832
osh_.cc9 ! turns non-zero into zero

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

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc10 ! turns zero into 1

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

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc16 Evaluation of argv[0] in pipeline occurs in child

[osh_.cc stdout] Expected '1\ncmd=\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc17 bash/dash/mksh run the last command is run in its own process

[osh_.cc stdout] Expected 'line=hi\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc18 shopt -s lastpipe (always on in OSH)

[osh_.cc stdout] Expected 'line=hi\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc19 shopt -s lastpipe (always on in OSH)

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
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 -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.