Results for command-sub.test.sh

statusoshosh_.pyosh_.cc
pass 26262
ok 110
BUG 111
FAIL 0025
total282828
caseoshosh_.pyosh_.ccdescription
0pass pass pass case
1pass pass FAIL case in subshell
details
2pass pass FAIL Command sub word part
details
3pass pass FAIL Backtick
details
4pass pass FAIL Backtick 2
details
5pass pass FAIL Nested backticks
details
6pass pass FAIL Making command out of command sub should work
details
7pass pass pass Making keyword out of command sub should NOT work
8pass pass FAIL Command sub with here doc
details
9pass pass FAIL Here doc with pipeline
details
10pass pass FAIL Command Sub word split
details
11pass pass FAIL Command Sub trailing newline removed
details
12pass pass FAIL Command Sub trailing whitespace not removed
details
13pass pass FAIL Command Sub and exit code
details
14pass pass FAIL Command Sub in local sets exit code
details
15pass pass FAIL Double Quotes in Command Sub in Double Quotes
details
16pass pass FAIL Escaped quote in [[ ]]
details
17pass pass FAIL Quoting $ within ``
details
18pass pass FAIL Quoting $ within `` within double quotes
details
19pass pass FAIL Quoting \ within ``
details
20pass pass FAIL Quoting \ within `` within double quotes
details
21pass pass FAIL Quoting ( within ``
details
22pass pass FAIL Quoting ( within `` within double quotes
details
23pass pass FAIL Quoting non-special characters within ``
details
24pass pass FAIL Quoting non-special characters within `` within double quotes
details
25ok ok FAIL Quoting double quotes within backticks
detailsdetailsdetails
26BUG BUG BUG More levels of double quotes in backticks
detailsdetailsdetails
27pass pass FAIL Syntax errors with double quotes within backticks
details
54 passed, 2 OK, 0 not implemented, 3 BUG, 25 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc1 case in subshell

[osh_.cc stdout] Expected 'letter\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 Command sub word part

[osh_.cc stdout] Expected 'FOObarFOO\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 Backtick

[osh_.cc stdout] Expected 'FOObarFOO\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 Backtick 2

[osh_.cc stdout] Expected 'ls\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 Nested backticks

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

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc6 Making command out of command sub should work

[osh_.cc stdout] Expected 'split builtin\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_.cc8 Command sub with here doc

[osh_.cc stdout] Expected 'two one\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_.cc9 Here doc with pipeline

[osh_.cc stdout] Expected u'twoXoneX', 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_.cc10 Command Sub word split

[osh_.cc stdout] Expected "['hi', 'there', 'hi there']\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_.cc11 Command Sub trailing newline removed

[osh_.cc stdout] Expected "['ab\\ncd']\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_.cc12 Command Sub trailing whitespace not removed

[osh_.cc stdout] Expected "['ab\\ncd\\n ']\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_.cc13 Command Sub and exit code

[osh_.cc stdout] Expected 'x\n0\n33\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_.cc14 Command Sub in local sets exit code

[osh_.cc stdout] Expected 'x\n0\n0\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_.cc15 Double Quotes in Command Sub in Double Quotes

[osh_.cc stdout] Expected 'x hi\nx hi\nx "hi"\nx hi\nx hi\nx 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_.cc16 Escaped quote in [[ ]]

[osh_.cc stdout] Expected '123 456\n"\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 Quoting $ within ``

[osh_.cc stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\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 Quoting $ within `` within double quotes

[osh_.cc stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\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 Quoting \ within ``

[osh_.cc stdout] Expected '[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_.cc20 Quoting \ within `` within double quotes

[osh_.cc stdout] Expected '[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_.cc21 Quoting ( within ``

[osh_.cc stdout] Expected '1 (\n2 (\n3 (\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_.cc22 Quoting ( within `` within double quotes

[osh_.cc stdout] Expected '1 (\n2 (\n3 (\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_.cc23 Quoting non-special characters within ``

[osh_.cc stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\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_.cc24 Quoting non-special characters within `` within double quotes

[osh_.cc stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\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.
osh25 Quoting double quotes within backticks

stdout:
"foo"
foo
"foo"
stderr:
osh_.py25 Quoting double quotes within backticks

stdout:
"foo"
foo
"foo"
stderr:
osh_.cc25 Quoting double quotes within backticks

[osh_.cc stdout] Expected '"foo"\nfoo\n"foo"\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.
osh26 More levels of double quotes in backticks

stdout:
BUG
stderr:
osh_.py26 More levels of double quotes in backticks

stdout:
BUG
stderr:
osh_.cc26 More levels of double quotes in backticks

stdout:
BUG
stderr:
dumb_alloc:
	gNumNew = 1739
	gNumDelete = 115
	gMemPos = 60576

	gNumMalloc = 62
	gNumFree = 0
	gMemPos2 = 9408
osh_.cc27 Syntax errors with double quotes within backticks

[osh_.cc stdout] Expected 'status=2\nstatus=2\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.