Results for command-sub.test.sh

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

Details on runs that didn't PASS

mksh7 Making keyword out of command sub should NOT work

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: 'do' unexpected
dash27 More levels of double quotes in backticks

stdout:
BUG
stderr:
bash27 More levels of double quotes in backticks

stdout:
BUG
stderr:
mksh27 More levels of double quotes in backticks

stdout:
BUG
stderr:
osh27 More levels of double quotes in backticks

stdout:
BUG
stderr:
osh_ALT27 More levels of double quotes in backticks

stdout:
BUG
stderr:
bash28 Syntax errors with double quotes within backticks

stdout:
status=0

status=0
stderr:
bash: command substitution: line 0: unexpected EOF while looking for matching `"'
bash: command substitution: line 1: syntax error: unexpected end of file
bash: command substitution: line 0: unexpected EOF while looking for matching `"'
bash: command substitution: line 1: syntax error: unexpected end of file
mksh28 Syntax errors with double quotes within backticks

stdout:
status=1
status=1
stderr:
mksh: no closing quote
mksh: no closing quote