Results for ysh-string.test.sh

statusysh
pass 15
FAIL 2
total17
caseyshdescription
0pass single quoted -- implicit and explicit raw
1pass Implicit raw single quote with backslash is a syntax error
2pass single quoted C strings: $'foo\n'
3pass Double Quoted
4pass Multiline strings with '' and ""
5pass C strings in %() array literals
6pass shopt parse_raw_string
7pass Triple Double Quotes, Expression Mode
8FAIL Triple Single Quotes, Expression Mode (TODO: j""")
details
9pass Triple Double Quotes, Command Mode
10pass raw strings and triple quotes
11pass Triple Single Quotes, Command Mode
12pass Triple Single Quotes, Here Doc
13pass Triple Single Quotes, disabled
14FAIL $''' in command mode (TODO: j""")
details
15pass here doc with quotes
16pass triple quoted and implicit concatenation
15 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

ysh8 Triple Single Quotes, Expression Mode (TODO: j""")

[ysh stdout] Expected "[two = $two '\nthree = $three ''\n \\u{61}\n]\n[two = $two '\nthree = $three ''\n a\n]\n" Got "[two = $two '\nthree = $three ''\n \\u{61}\n]\n"
[ysh status] Expected 0, got 2

stdout:
[two = $two '
three = $three ''
 \u{61}
]
stderr:
     \u{61}
     ^
[ stdin ]:14: Invalid char escape in C-style string literal
ysh14 $''' in command mode (TODO: j""")

[ysh stdout] Expected "two = $two\n'\n'' '\na\n\n", got ''
[ysh status] Expected 0, got 2

stdout:
stderr: 
    \u{61}
    ^
[ stdin ]:5: Invalid char escape in C-style string literal