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