ysh-string () { run-file ysh-string "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
status | ysh | |
pass | 22 | |
total | 22 | |
case | ysh | description |
0 | pass | single quoted -- implicit and explicit raw |
1 | pass | Implicit raw single quote with backslash is a syntax error |
2 | pass | $"foo $x" to make "foo $x" explicit |
3 | pass | single quoted C strings: $'foo\n' |
4 | pass | raw strings and J8 strings don't work in OSH |
5 | pass | J8-style u'' and b'' strings in expression mode |
6 | pass | J8-style u'' and b'' strings in command mode |
7 | pass | J8-style multi-line strings u''' b''' in command mode |
8 | pass | Double Quoted |
9 | pass | Multiline strings with '' and "" |
10 | pass | C strings in %() array literals |
11 | pass | shopt parse_ysh_string |
12 | pass | $''' isn't a a multiline string (removed) |
13 | pass | """ and $""" in Expression Mode |
14 | pass | ''' in Expression Mode |
15 | pass | """ and $""" in Command Mode |
16 | pass | ''' in Command Mode |
17 | pass | r''' in Command Mode, Expression mode |
18 | pass | ''' in Here Doc |
19 | pass | ''' without parse_triple_quote |
20 | pass | here doc with quotes |
21 | pass | triple quoted and implicit concatenation |
22 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped