Results for command-sub.test.sh

statusoshosh-cpp
pass 304
FAIL 026
total3030
caseoshosh-cppdescription
0pass pass case
1pass FAIL case in subshell
details
2pass FAIL Command sub word part
details
3pass FAIL Backtick
details
4pass FAIL Backtick 2
details
5pass FAIL Nested backticks
details
6pass FAIL Making command out of command sub should work
details
7pass pass Making keyword out of command sub should NOT work
8pass FAIL Command sub with here doc
details
9pass pass Here doc with pipeline
10pass FAIL Command Sub word split
details
11pass FAIL Command Sub trailing newline removed
details
12pass FAIL Command Sub trailing whitespace not removed
details
13pass FAIL Command Sub and exit code
details
14pass FAIL Command Sub in local sets exit code
details
15pass FAIL Double Quotes in Command Sub in Double Quotes
details
16pass FAIL Escaped quote in [[ ]]
details
17pass FAIL Quoting " within ``
details
18pass FAIL Quoting $ within ``
details
19pass FAIL Quoting $ within `` within double quotes
details
20pass FAIL Quoting \ within ``
details
21pass FAIL Quoting \ within `` within double quotes
details
22pass FAIL Quoting ( within ``
details
23pass FAIL Quoting ( within `` within double quotes
details
24pass FAIL Quoting non-special characters within ``
details
25pass FAIL Quoting non-special characters within `` within double quotes
details
26pass FAIL Quoting double quotes within backticks
details
27pass FAIL More levels of double quotes in backticks
details
28pass pass Syntax errors with double quotes within backticks
29pass FAIL Empty command sub $() (command::NoOp)
details
34 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp1 case in subshell

[osh-cpp stdout] Expected 'letter\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp2 Command sub word part

[osh-cpp stdout] Expected 'FOObarFOO\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp3 Backtick

[osh-cpp stdout] Expected 'FOObarFOO\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp4 Backtick 2

[osh-cpp stdout] Expected 'ls\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp5 Nested backticks

[osh-cpp stdout] Expected '000000-first\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp6 Making command out of command sub should work

[osh-cpp stdout] Expected 'split builtin\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp8 Command sub with here doc

[osh-cpp stdout] Expected 'two one\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp10 Command Sub word split

[osh-cpp stdout] Expected "['hi', 'there', 'hi there']\n", got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp11 Command Sub trailing newline removed

[osh-cpp stdout] Expected "['ab\\ncd']\n", got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp12 Command Sub trailing whitespace not removed

[osh-cpp stdout] Expected "['ab\\ncd\\n ']\n", got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp13 Command Sub and exit code

[osh-cpp stdout] Expected 'x\n0\n33\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp14 Command Sub in local sets exit code

[osh-cpp stdout] Expected 'x\n0\n0\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp15 Double Quotes in Command Sub in Double Quotes

[osh-cpp stdout] Expected 'x hi\nx hi\nx "hi"\nx hi\nx hi\nx hi\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp16 Escaped quote in [[ ]]

[osh-cpp stdout] Expected '123 456\n"\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp17 Quoting " within ``

[osh-cpp stdout] Expected '1 "\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp18 Quoting $ within ``

[osh-cpp stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp19 Quoting $ within `` within double quotes

[osh-cpp stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp20 Quoting \ within ``

[osh-cpp stdout] Expected '[1 ]\n[2 ]\n[3 \\]\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp21 Quoting \ within `` within double quotes

[osh-cpp stdout] Expected '[1 ]\n[2 ]\n[3 \\]\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp22 Quoting ( within ``

[osh-cpp stdout] Expected '1 (\n2 (\n3 (\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp23 Quoting ( within `` within double quotes

[osh-cpp stdout] Expected '1 (\n2 (\n3 (\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp24 Quoting non-special characters within ``

[osh-cpp stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp25 Quoting non-special characters within `` within double quotes

[osh-cpp stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp26 Quoting double quotes within backticks

[osh-cpp stdout] Expected '"foo"\n"foo"\n"foo"\n', got '"foo"\n'
[osh-cpp status] Expected 0, got -6

stdout:
"foo"
stderr:
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp27 More levels of double quotes in backticks

[osh-cpp stdout] Expected '\\foo\\ -\n\\foo\\ -\n\\"foo\\" -\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core
osh-cpp29 Empty command sub $() (command::NoOp)

[osh-cpp stdout] Expected '-- ..\n', got ''
[osh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'IndexError*'
timeout: the monitored command dumped core