Results for ysh-cmd-lang.test.sh

statusyshysh-cpp
pass 11
FAIL 11
total22
caseyshysh-cppdescription
0pass pass Redirect with if, case, while, for
1FAIL FAIL Redirect failure is either fatal or can be checked
detailsdetails
2 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

ysh1 Redirect failure is either fatal or can be checked

[ysh status] Expected 0, got 1

stdout:
stderr: 
  { echo 1; echo 2 } > /
                     ^
[ stdin ]:1: Can't open '/': Is a directory
[ stdin ]:1: I/O error applying redirect: Is a directory
[ stdin ]:1: errexit PID 26236: command.Redirect failed with status 1
ysh-cpp1 Redirect failure is either fatal or can be checked

[ysh-cpp status] Expected 0, got 1

stdout:
stderr: 
  { echo 1; echo 2 } > /
                     ^
[ stdin ]:1: Can't open '/': Is a directory
[ stdin ]:1: I/O error applying redirect: Is a directory
[ stdin ]:1: errexit PID 26252: command.Redirect failed with status 1