Results for quote.test.sh

statusoshosh_.pyosh_.cc
pass 353431
FAIL 014
total353535
caseoshosh_.pyosh_.ccdescription
0pass pass pass Unquoted words
1pass pass pass Single-quoted
2pass pass pass Two single-quoted parts
3pass pass pass Unquoted and single quoted
4pass pass pass newline inside single-quoted string
5pass pass pass Double-quoted
6pass pass pass Mix of quotes in one word
7pass pass pass Var substitution
8pass pass pass Var substitution with braces
9pass pass pass Var substitution with braces, quoted
10pass pass pass Var length
11pass pass FAIL Storing backslashes and then echoing them
details
12pass pass pass Backslash escapes
13pass pass pass Backslash escapes inside double quoted string
14pass pass pass C-style backslash escapes inside double quoted string
15pass pass pass Literal $
16pass pass pass Quoted Literal $
17pass pass pass Line continuation
18pass pass pass Line continuation inside double quotes
19pass pass pass $? split over multiple lines
20pass pass pass Unterminated single quote
21pass pass pass Unterminated double quote
22pass pass pass Semicolon
23pass pass pass No tab escapes within single quotes
24pass pass pass $''
25pass pass pass $'' with quotes
26pass pass pass $'' with newlines
27pass pass FAIL $'' octal escapes don't have leading 0
details
28pass pass FAIL $'' octal escapes with fewer than 3 chars
details
29pass pass pass Oil extension of \u{1234} to match QSN
30pass pass pass OSH allows invalid backslashes
31pass FAIL FAIL Oil parse errors with parse_backslash
detailsdetails
32pass pass pass Oil allows unquoted foo\ bar
33pass pass pass $""
34pass pass pass printf
100 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc11 Storing backslashes and then echoing them

[osh_.cc stdout] Expected '\\ \\\\\n\\ \\\\\n', got '\\\n\\ \\\\\n'

stdout:
\
\ \\
stderr:
dumb_alloc:
	gNumNew = 1961
	gNumDelete = 162
	gMemPos = 66320

	gNumMalloc = 114
	gNumFree = 0
	gMemPos2 = 10224
osh_.cc27 $'' octal escapes don't have leading 0

[osh_.cc stdout] Expected ' 001 377\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc28 $'' octal escapes with fewer than 3 chars

[osh_.cc stdout] Expected ' 001 \\t \\t I \\n\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.py31 Oil parse errors with parse_backslash

[osh_.py status] Expected 2, got 0

stdout:
stderr: 
osh_.cc31 Oil parse errors with parse_backslash

[osh_.cc status] Expected 2, got 0

stdout:
stderr: 
dumb_alloc:
	gNumNew = 1696
	gNumDelete = 113
	gMemPos = 59712

	gNumMalloc = 33
	gNumFree = 0
	gMemPos2 = 8960