Results for var-sub-quote.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass "${empty:-}"
1pass pass pass pass pass ${empty:-}
2pass pass pass pass pass :-
3pass pass pass pass pass -
4pass pass pass pass pass Inner single quotes
5pass pass pass pass pass Inner single quotes, outer double quotes
6pass pass pass pass pass Inner double quotes
7pass pass pass pass pass Inner double quotes, outer double quotes
8pass pass pass pass pass Multiple words: no quotes
9pass pass pass pass pass Multiple words: no outer quotes, inner single quotes
10pass pass pass pass pass Multiple words: no outer quotes, inner double quotes
11pass pass pass pass pass Multiple words: outer double quotes, no inner quotes
12pass pass pass pass pass Multiple words: outer double quotes, inner double quotes
13pass pass pass pass pass Multiple words: outer double quotes, inner single quotes
14pass pass pass pass pass Mixed inner quotes
15pass pass pass pass pass Mixed inner quotes with outer quotes
16pass pass pass pass pass Var with multiple words: no quotes
17pass pass pass pass pass Multiple words: no outer quotes, inner single quotes
18pass pass pass pass pass Multiple words: no outer quotes, inner double quotes
19pass pass pass pass pass Multiple words: outer double quotes, no inner quotes
20pass pass pass pass pass Multiple words: outer double quotes, inner double quotes
21pass pass pass pass pass Multiple words: outer double quotes, inner single quotes
22pass pass pass pass pass No outer quotes, Multiple internal quotes
23pass pass pass pass pass Strip a string with single quotes, unquoted
24pass pass pass pass pass Strip a string with single quotes, double quoted
25pass pass pass pass pass The string to strip is space sensitive
26pass pass pass pass pass The string to strip can be single quoted, outer is unquoted
27pass BUG BUG pass pass Strip a string with single quotes, double quoted, with unescaped '
detailsdetails
28pass BUG BUG pass pass The string to strip can be single quoted, outer is double quoted
detailsdetails

141 passed, 0 ok, 0 known unimplemented, 4 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

bash27 Strip a string with single quotes, double quoted, with unescaped '

stdout:
stderr: 
/bin/bash: line 2: unexpected EOF while looking for matching `''
/bin/bash: line 3: syntax error: unexpected end of file
mksh27 Strip a string with single quotes, double quoted, with unescaped '

stdout:
stderr: 
/bin/mksh: <stdin>[3]: no closing quote
bash28 The string to strip can be single quoted, outer is double quoted

stdout:
['a b ', 'a b c d']
stderr:
mksh28 The string to strip can be single quoted, outer is double quoted

stdout:
['a b ', 'a b c d']
stderr: