Results for quote.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass Unquoted words
1pass pass pass pass pass Single-quoted
2pass pass pass pass pass Two single-quoted parts
3pass pass pass pass pass Unquoted and single quoted
4pass pass pass pass pass newline inside single-quoted string
5pass pass pass pass pass Double-quoted
6pass pass pass pass pass Mix of quotes in one word
7pass pass pass pass pass Var substitution
8pass pass pass pass pass Var substitution with braces
9pass pass pass pass pass Var substitution with braces, quoted
10pass pass pass pass pass Var length
11pass pass pass pass pass Backslash escapes
12pass pass pass FAIL FAIL Backslash escapes inside double quoted string
detailsdetails
13BUG pass BUG FAIL FAIL C-style backslash escapes inside double quoted string
detailsdetailsdetailsdetails
14pass pass pass pass pass Literal $
15pass pass pass pass pass Quoted Literal $
16pass pass pass pass pass Line continuation
17pass ok ok pass pass $? split over multiple lines
detailsdetails
18pass pass ok pass pass Unterminated single quote
details
19pass pass ok pass pass Unterminated double quote
details
20pass pass pass pass pass Semicolon
21BUG pass BUG pass pass No tab escapes within single quotes
detailsdetails
22N-I pass pass pass pass $''
details
23N-I pass pass FAIL FAIL $'' with newlines
detailsdetailsdetails
24N-I pass pass pass pass $""
details
25pass pass pass FAIL FAIL printf
detailsdetails

111 passed, 4 ok, 3 known unimplemented, 4 known bugs, 4 failed, 0 skipped

Details on runs that didn't PASS

osh12 Backslash escapes inside double quoted string

[osh stdout] Expected '$ \\ \\ \\p \\q\n', got '$ \\ \\ p q\n'

stdout:
$ \ \ p q
stderr:
osh_ALT12 Backslash escapes inside double quoted string

[osh_ALT stdout] Expected '$ \\ \\ \\p \\q\n', got '$ \\ \\ p q\n'

stdout:
$ \ \ p q
stderr:
dash13 C-style backslash escapes inside double quoted string

stdout:
 
stderr:
mksh13 C-style backslash escapes inside double quoted string

stdout:
 
stderr:
osh13 C-style backslash escapes inside double quoted string

[osh stdout] Expected '\\a \\b\n', got 'a b\n'

stdout:
a b
stderr:
osh_ALT13 C-style backslash escapes inside double quoted string

[osh_ALT stdout] Expected '\\a \\b\n', got 'a b\n'

stdout:
a b
stderr:
bash17 $? split over multiple lines

stdout:
0
stderr:
mksh17 $? split over multiple lines

stdout:
0
stderr:
mksh18 Unterminated single quote

stdout:
stderr: 
/bin/mksh: <stdin>[2]: no closing quote
mksh19 Unterminated double quote

stdout:
stderr: 
/bin/mksh: <stdin>[2]: no closing quote
dash21 No tab escapes within single quotes

stdout:
a	b
stderr:
mksh21 No tab escapes within single quotes

stdout:
a	b
stderr:
dash22 $''

stdout:
$foo
stderr:
dash23 $'' with newlines

stdout:
$col1
col2
col3
stderr:
osh23 $'' with newlines

[osh stdout] Expected u'col1\ncol2\ncol3\n', got 'col1\\ncol2\\ncol3\n'

stdout:
col1\ncol2\ncol3
stderr:
osh_ALT23 $'' with newlines

[osh_ALT stdout] Expected u'col1\ncol2\ncol3\n', got 'col1\\ncol2\\ncol3\n'

stdout:
col1\ncol2\ncol3
stderr:
dash24 $""

stdout:
$foo
stderr:
osh25 printf

[osh stdout] Expected u'c1\tc2\nc3\tc4\n', got 'c1tc2nc3tc4n'

stdout:
c1tc2nc3tc4n
stderr:
osh_ALT25 printf

[osh_ALT stdout] Expected u'c1\tc2\nc3\tc4\n', got 'c1tc2nc3tc4n'

stdout:
c1tc2nc3tc4n
stderr: