spec test index / oilshell.org
status | osh | |
pass | 9 | |
FAIL | 1 | |
total | 10 | |
case | osh | description |
0 | pass | Can read from ENV Dict |
1 | pass | ENV works in different modules |
2 | pass | bin/ysh doesn't have exported vars (declare -x) |
3 | FAIL | Temp bindings A=a B=b my-command push to ENV Obj (ysh:all) |
details | ||
4 | pass | setglobal ENV.PYTHONPATH = 'foo' changes child process state |
5 | pass | export builtin is disabled in ysh:all, in favor of setglobal |
6 | pass | ysh:upgrade can use both export builtin and setglobal ENV |
7 | pass | PS4 environment variable is respected |
8 | pass | ENV.HOME is respected |
9 | pass | exec builtin respects ENV |
9 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 3 Temp bindings A=a B=b my-command push to ENV Obj (ysh:all) [osh stdout] Expected '_A=a\n_B=b\n', got '' [osh status] Expected 0, got 1 stdout: stderr: _A=a _B=b env | grep '^_' | sort ^~~~ [ stdin ]:3: errexit PID 38335: command.Pipeline failed with status 1 |