Results for ysh-multiline.test.sh

statusoshosh-cpp
pass 98
FAIL 01
total99
caseoshosh-cppdescription
0pass pass ... with simple command
1pass pass ... with pipeline
2pass pass ... with multiline $()
3pass pass ... inside command sub $()
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 FAIL Combine multi-line command and strings
details
17 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh-cpp8 Combine multi-line command and strings

[osh-cpp stdout] Expected 'FOUR\nTHREE\nTWO\nONE\n', got ''
[osh-cpp status] Expected 0, got 1

stdout:
stderr: 
      $x
      ^~
[ stdin ]:7: fatal: Undefined variable 'x'
  ... write --sep '' --end '' --
      ^~~~~
[ stdin ]:5: errexit PID 25231: command.Pipeline failed with status 1