Results for quote.test.sh

statusdashbashmkshashoshosh_ALT
pass 223025293131
ok 013100
N-I 600100
BUG 303000
total313131313131
casedashbashmkshashoshosh_ALTdescription
0pass pass pass pass pass pass Unquoted words
1pass pass pass pass pass pass Single-quoted
2pass pass pass pass pass pass Two single-quoted parts
3pass pass pass pass pass pass Unquoted and single quoted
4pass pass pass pass pass pass newline inside single-quoted string
5pass pass pass pass pass pass Double-quoted
6pass pass pass pass pass pass Mix of quotes in one word
7pass pass pass pass pass pass Var substitution
8pass pass pass pass pass pass Var substitution with braces
9pass pass pass pass pass pass Var substitution with braces, quoted
10pass pass pass pass pass pass Var length
11BUG pass BUG pass pass pass Storing backslashes and then echoing them
detailsdetails
12pass pass pass pass pass pass Backslash escapes
13pass pass pass pass pass pass Backslash escapes inside double quoted string
14BUG pass BUG pass pass pass C-style backslash escapes inside double quoted string
detailsdetails
15pass pass pass pass pass pass Literal $
16pass pass pass pass pass pass Quoted Literal $
17pass pass pass pass pass pass Line continuation
18pass pass pass pass pass pass Line continuation inside double quotes
19pass ok ok ok pass pass $? split over multiple lines
detailsdetailsdetails
20pass pass ok pass pass pass Unterminated single quote
details
21pass pass ok pass pass pass Unterminated double quote
details
22pass pass pass pass pass pass Semicolon
23BUG pass BUG pass pass pass No tab escapes within single quotes
detailsdetails
24N-I pass pass pass pass pass $''
details
25N-I pass pass pass pass pass $'' with quotes
details
26N-I pass pass pass pass pass $'' with newlines
details
27N-I pass pass pass pass pass $'' octal escapes don't have leading 0
details
28N-I pass pass pass pass pass $'' octal escapes with fewer than 3 chars
details
29N-I pass pass N-I pass pass $""
detailsdetails
30pass pass pass pass pass pass printf
168 passed, 5 OK, 7 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:
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: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: no closing quote
mksh21 Unterminated double quote

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/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: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/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 $""

stdout:
$foo
stderr:
ash29 $""

stdout:
$foo
stderr: