quote () { sh-spec spec/quote.test.sh ${REF_SHELLS[@]} $BUSYBOX_ASH $OSH_LIST "$@" } quote: spec test case results

Results for quote.test.sh

statusdashbashmkshashosh
pass 2232263134
ok 11310
N-I 81220
BUG 30300
total3434343434
casedashbashmkshashoshdescription
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
11BUG pass BUG pass pass Storing backslashes and then echoing them
detailsdetails
12pass pass pass pass pass Backslash escapes
13pass pass pass pass pass Backslash escapes inside double quoted string
14BUG pass BUG pass pass C-style backslash escapes inside double quoted string
detailsdetails
15pass pass pass pass pass Literal $
16pass pass pass pass pass Quoted Literal $
17pass pass pass pass pass Line continuation
18pass pass pass pass pass Line continuation inside double quotes
19ok ok ok ok pass $? split over multiple lines
detailsdetailsdetailsdetails
20pass pass ok pass pass Unterminated single quote
details
21pass pass ok pass pass Unterminated double quote
details
22pass pass pass pass pass Semicolon
23BUG pass BUG pass pass No tab escapes within single quotes
detailsdetails
24N-I pass pass pass pass $''
details
25N-I pass pass pass pass $'' with quotes
details
26N-I pass pass pass pass $'' with newlines
details
27N-I pass pass pass pass $'' octal escapes don't have leading 0
details
28N-I pass pass pass pass $'' octal escapes with fewer than 3 chars
details
29N-I pass N-I pass pass OSH allows invalid backslashes
detailsdetails
30N-I N-I N-I N-I pass YSH parse errors with parse_backslash
detailsdetailsdetailsdetails
31pass pass pass pass pass Oil allows unquoted foo\ bar
32N-I pass pass N-I pass $""
detailsdetails
33pass pass pass pass pass printf
145 passed, 6 OK, 13 not implemented, 6 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash11 Storing backslashes and then echoing them

stdout:
\ \
\ \
stderr:
mksh11 Storing backslashes and then echoing them

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

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

stdout:
 
stderr:
dash19 $? split over multiple lines

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

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

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

stdout:
0
stderr:
mksh20 Unterminated single quote

stdout:
stderr: 
mksh: <stdin>[2]: no closing quote
mksh21 Unterminated double quote

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

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

stdout:
a	b
stderr:
dash24 $''

stdout:
$foo
stderr:
dash25 $'' with quotes

stdout:
stderr: 
dash: 2: Syntax error: Unterminated quoted string
dash26 $'' with newlines

stdout:
$col1
col2
col3
stderr:
dash27 $'' octal escapes don't have leading 0

stdout:
 $ 001 $ 377
stderr:
dash28 $'' octal escapes with fewer than 3 chars

stdout:
 $ 001 \t \t I \n
stderr:
dash29 OSH allows invalid backslashes

stdout:
stderr: 
mksh29 OSH allows invalid backslashes

stdout:
stderr: 
dash30 YSH parse errors with parse_backslash

stdout:
stderr: 
bash30 YSH parse errors with parse_backslash

stdout:
stderr: 
mksh30 YSH parse errors with parse_backslash

stdout:
stderr: 
ash30 YSH parse errors with parse_backslash

stdout:
stderr: 
dash32 $""

stdout:
$foo
stderr:
ash32 $""

stdout:
$foo
stderr: