Results for command-sub.test.sh

statusdashbashmkshosh
pass 29282729
ok 0120
BUG 1111
total30303030
casedashbashmkshoshdescription
0pass pass pass pass case
1pass pass pass pass case in subshell
2pass pass pass pass Command sub word part
3pass pass pass pass Backtick
4pass pass pass pass Backtick 2
5pass pass pass pass Nested backticks
6pass pass pass pass Making command out of command sub should work
7pass pass ok pass Making keyword out of command sub should NOT work
details
8pass pass pass pass Command sub with here doc
9pass pass pass pass Here doc with pipeline
10pass pass pass pass Command Sub word split
11pass pass pass pass Command Sub trailing newline removed
12pass pass pass pass Command Sub trailing whitespace not removed
13pass pass pass pass Command Sub and exit code
14pass pass pass pass Command Sub in local sets exit code
15pass pass pass pass Double Quotes in Command Sub in Double Quotes
16pass pass pass pass Escaped quote in [[ ]]
17pass pass pass pass Quoting " within ``
18pass pass pass pass Quoting $ within ``
19pass pass pass pass Quoting $ within `` within double quotes
20pass pass pass pass Quoting \ within ``
21pass pass pass pass Quoting \ within `` within double quotes
22pass pass pass pass Quoting ( within ``
23pass pass pass pass Quoting ( within `` within double quotes
24pass pass pass pass Quoting non-special characters within ``
25pass pass pass pass Quoting non-special characters within `` within double quotes
26pass pass pass pass Quoting double quotes within backticks
27BUG BUG BUG BUG More levels of double quotes in backticks
detailsdetailsdetailsdetails
28pass ok ok pass Syntax errors with double quotes within backticks
detailsdetails
29pass pass pass pass Empty command sub $() (command::NoOp)
113 passed, 3 OK, 0 not implemented, 4 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:
bash28 Syntax errors with double quotes within backticks

stdout:
status=0

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

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