Results for ysh-cmd-lang.test.sh

statusyshysh_ALT
pass 11
FAIL 11
total22
caseyshysh_ALTdescription
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, 2 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 40198: command.Redirect failed with status 1
ysh_ALT1 Redirect failure is either fatal or can be checked

[ysh_ALT 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 40201: command.Redirect failed with status 1