Results for ysh-multiline.test.sh

statusoshosh-cpp
pass 97
FAIL 02
total99
caseoshosh-cppdescription
0pass pass ... with simple command
1pass pass ... with pipeline
2pass FAIL ... with multiline $()
details
3pass FAIL ... inside command sub $()
details
4pass pass ... with && and [[
5pass pass '... for' is allowed, but NOT recommended
6pass pass Blank line in multiline command is syntax error
7pass pass Blank line with spaces and tabs isn't OK either
8pass pass Combine multi-line command and strings
16 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp2 ... with multiline $()

[osh-cpp stdout] Expected 'one two\n1\n' Got ''
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
         echo two)
                 ^
[ stdin ]:2: Invalid word while parsing command list
osh-cpp3 ... inside command sub $()

[osh-cpp stdout] Expected 'one two three four\nfive\n' Got ''
[osh-cpp status] Expected 0 Got 2

stdout:
stderr: 
                three) four
                     ^
[ stdin ]:3: Invalid word while parsing command list