Results for exit-status.test.sh

statusoshosh-cpp
pass 88
FAIL 11
total99
caseoshosh-cppdescription
0pass pass Truncating 'exit' status
1pass pass Truncating 'return' status
2pass pass subshell OverflowError https://github.com/oilshell/oil/issues/996
3pass pass func subshell OverflowError https://github.com/oilshell/oil/issues/996
4pass pass If empty command
5pass pass If subshell true
6pass pass If subshell true WITH OUTPUT is different
7pass pass If subshell true WITH ARGUMENT
8FAIL FAIL If subshell false -- exit code is propagated in a weird way (strict_argv prevents)
detailsdetails
16 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

osh8 If subshell false -- exit code is propagated in a weird way (strict_argv prevents)

[osh stdout] Expected 'FALSE\n', got 'TRUE\n'

stdout:
TRUE
stderr:
osh-cpp8 If subshell false -- exit code is propagated in a weird way (strict_argv prevents)

[osh-cpp stdout] Expected 'FALSE\n', got 'TRUE\n'

stdout:
TRUE
stderr: