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

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