| status | osh | osh_ALT | |
| pass | 12 | 12 | |
| FAIL | 2 | 2 | |
| total | 14 | 14 | |
| case | osh | osh_ALT | description |
| 0 | pass | pass | Can read from ENV Obj |
| 1 | pass | pass | ENV works in different modules |
| 2 | pass | pass | bin/ysh doesn't have exported vars (declare -x) |
| 3 | pass | pass | Temp bindings A=a B=b my-command push to ENV Obj (ysh:all) |
| 4 | pass | pass | Nested temp bindings |
| 5 | pass | pass | Temp bindings can use locals in the same frame,(don't introduce new frame) |
| 6 | pass | pass | setglobal ENV.PYTHONPATH = 'foo' changes child process state |
| 7 | FAIL | FAIL | export builtin is disabled in ysh:all, in favor of setglobal |
| details | details | ||
| 8 | FAIL | FAIL | ysh:upgrade can use both export builtin and setglobal ENV |
| details | details | ||
| 9 | pass | pass | PS4 environment variable is respected |
| 10 | pass | pass | ENV.HOME is respected |
| 11 | pass | pass | exec builtin respects ENV |
| 12 | pass | pass | setglobal quirk - do we need setenv? |
| 13 | pass | pass | try to corrupt ENV var from user code |
24 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| osh | 7 export builtin is disabled in ysh:all, in favor of setglobal [osh status] Expected 1, got 2 stdout: ZZ=setglobalstderr: export ZZ='export' # fails
^
[ stdin ]:7: Invalid quoted word part in YSH (OILS-ERR-17)
|
| osh_ALT | 7 export builtin is disabled in ysh:all, in favor of setglobal [osh_ALT status] Expected 1, got 2 stdout: ZZ=setglobalstderr: export ZZ='export' # fails
^
[ stdin ]:7: Invalid quoted word part in YSH (OILS-ERR-17)
|
| osh | 8 ysh:upgrade can use both export builtin and setglobal ENV [osh stdout] Expected 'ZZ=export\nZZ=setglobal\n', got '' [osh status] Expected 0, got 2 stdout: stderr: export ZZ='export' # fails
^
[ stdin ]:3: Invalid quoted word part in YSH (OILS-ERR-17)
|
| osh_ALT | 8 ysh:upgrade can use both export builtin and setglobal ENV [osh_ALT stdout] Expected 'ZZ=export\nZZ=setglobal\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: export ZZ='export' # fails
^
[ stdin ]:3: Invalid quoted word part in YSH (OILS-ERR-17)
|