Results for here-doc.test.sh

statusoshosh_.pyosh_.cc
pass 33331
ok 111
FAIL 0032
total343434
caseoshosh_.pyosh_.ccdescription
0pass pass FAIL Here string
details
1pass pass FAIL Here string with $
details
2pass pass FAIL Here redirect with explicit descriptor
details
3pass pass FAIL Here doc from another input file descriptor
details
4pass pass FAIL Multiple here docs with different descriptors
details
5ok ok ok Here doc with bad var delimiter
detailsdetailsdetails
6pass pass pass Here doc with bad comsub delimiter
7pass pass FAIL Here doc and < redirect -- last one wins
details
8pass pass FAIL < redirect and here doc -- last one wins
details
9pass pass FAIL Here doc with var sub, command sub, arith sub
details
10pass pass FAIL Here doc in middle. And redirects in the middle.
details
11pass pass FAIL Here doc line continuation
details
12pass pass FAIL Here doc with quote expansion in terminator
details
13pass pass FAIL Here doc with multiline double quoted string
details
14pass pass FAIL Two here docs -- first is ignored; second ones wins!
details
15pass pass FAIL Here doc with line continuation, then pipe. Syntax error.
details
16pass pass FAIL Here doc with pipe on first line
details
17pass pass FAIL Here doc with pipe continued on last line
details
18pass pass FAIL Here doc with builtin 'read'
details
19pass pass FAIL Compound command here doc
details
20pass pass FAIL Here doc in while condition and here doc in body
details
21pass pass FAIL Here doc in while condition and here doc in body on multiple lines
details
22pass pass FAIL Here doc in while loop split up more
details
23pass pass FAIL Mixing << and <<-
details
24pass pass FAIL Two compound commands with two here docs
details
25pass pass FAIL Function def and execution with here doc
details
26pass pass FAIL Here doc as command prefix
details
27pass pass FAIL Redirect after here doc
details
28pass pass FAIL here doc stripping tabs
details
29pass pass FAIL Here doc within subshell with boolean
details
30pass pass FAIL Here Doc in if condition
details
31pass pass FAIL Nested here docs which are indented
details
32pass pass FAIL Multiple here docs in pipeline
details
33pass pass FAIL Multiple here docs in pipeline on multiple lines
details
67 passed, 3 OK, 0 not implemented, 0 BUG, 32 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc0 Here string

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc1 Here string with $

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc2 Here redirect with explicit descriptor

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc3 Here doc from another input file descriptor

[osh_.cc stdout] Expected '8: here doc on descriptor\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc4 Multiple here docs with different descriptors

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh5 Here doc with bad var delimiter

stdout:
stderr: 
  cat <<${a}
        ^~
[ stdin ]:1: Invalid here doc delimiter
osh_.py5 Here doc with bad var delimiter

stdout:
stderr: 
  cat <<${a}
        ^~
[ stdin ]:1: Invalid here doc delimiter
osh_.cc5 Here doc with bad var delimiter

stdout:
stderr: 
  cat <<${a}
        ^~
[ stdin ]:1: Invalid here doc delimiter

dumb_alloc:
	gNumNew = 1703
	gNumDelete = 97
	gMemPos = 60256

	gNumMalloc = 38
	gNumFree = 0
	gMemPos2 = 9168
osh_.cc7 Here doc and < redirect -- last one wins

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc8 < redirect and here doc -- last one wins

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc9 Here doc with var sub, command sub, arith sub

[osh_.cc stdout] Expected 'var: v\ncommand: hi\narith: 3\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc10 Here doc in middle. And redirects in the middle.

[osh_.cc stderr] Expected 'foo\nhere\nbar\n', got "osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.\ntimeout: the monitored command dumped core\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc11 Here doc line continuation

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc12 Here doc with quote expansion in terminator

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc13 Here doc with multiline double quoted string

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc14 Two here docs -- first is ignored; second ones wins!

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc15 Here doc with line continuation, then pipe. Syntax error.

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc16 Here doc with pipe on first line

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc17 Here doc with pipe continued on last line

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc18 Here doc with builtin 'read'

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc19 Compound command here doc

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc20 Here doc in while condition and here doc in body

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc21 Here doc in while condition and here doc in body on multiple lines

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc22 Here doc in while loop split up more

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc23 Mixing << and <<-

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc24 Two compound commands with two here docs

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc25 Function def and execution with here doc

[osh_.cc stdout] Expected u'before\n1\n2\nafter\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc26 Here doc as command prefix

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc27 Redirect after here doc

[osh_.cc stderr] Expected 'out\n', got "osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.\ntimeout: the monitored command dumped core\n"
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc28 here doc stripping tabs

[osh_.cc stdout] Expected '1\n2\n3 # 2 tabs are both stripped\n 4 # spaces are preserved\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc29 Here doc within subshell with boolean

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc30 Here Doc in if condition

[osh_.cc stdout] Expected 'here doc in IF CONDITION\nTHEN executed\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc31 Nested here docs which are indented

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

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc32 Multiple here docs in pipeline

[osh_.cc stdout] Expected '0: 3: fd3\n5: fd5\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core
osh_.cc33 Multiple here docs in pipeline on multiple lines

[osh_.cc stdout] Expected '0: 3: fd3\n5: fd5\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
timeout: the monitored command dumped core