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 "$@" } ysh-string: spec test case results

Results for ysh-string.test.sh

statusyshysh_ALT
pass 2222
total2222
caseyshysh_ALTdescription
0pass pass single quoted -- implicit and explicit raw
1pass pass Implicit raw single quote with backslash is a syntax error
2pass pass $"foo $x" to make "foo $x" explicit
3pass pass single quoted C strings: $'foo\n'
4pass pass raw strings and J8 strings don't work in OSH
5pass pass J8-style u'' and b'' strings in expression mode
6pass pass J8-style u'' and b'' strings in command mode
7pass pass J8-style multi-line strings u''' b''' in command mode
8pass pass Double Quoted
9pass pass Multiline strings with '' and ""
10pass pass C strings in %() array literals
11pass pass shopt parse_ysh_string
12pass pass $''' isn't a a multiline string (removed)
13pass pass """ and $""" in Expression Mode
14pass pass ''' in Expression Mode
15pass pass """ and $""" in Command Mode
16pass pass ''' in Command Mode
17pass pass r''' in Command Mode, Expression mode
18pass pass ''' in Here Doc
19pass pass ''' without parse_triple_quote
20pass pass here doc with quotes
21pass pass triple quoted and implicit concatenation
44 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped