spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 7 | 7 | |
FAIL | 3 | 3 | |
total | 10 | 10 | |
case | osh | osh-cpp | description |
0 | pass | pass | Can read from ENV Dict |
1 | pass | pass | YSH doesn't have exported vars (declare -x) |
2 | FAIL | FAIL | Temp bindings A=a B=b my-command push to ENV dict |
details | details | ||
3 | pass | pass | setglobal ENV.PYTHONPATH = 'foo' changes child process state |
4 | pass | pass | export builtin is disabled in ysh:all, in favor of setglobal |
5 | FAIL | FAIL | ysh:upgrade can use both export builtin and setglobal ENV |
details | details | ||
6 | FAIL | FAIL | PS4 environment variable is respected |
details | details | ||
7 | pass | pass | ENV works in different modules |
8 | pass | pass | HOME var |
9 | pass | pass | exec builtin respects ENV |
14 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 2 Temp bindings A=a B=b my-command push to ENV dict [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 29722: command.Pipeline failed with status 1 |
osh-cpp | 2 Temp bindings A=a B=b my-command push to ENV dict [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 29736: command.Pipeline failed with status 1 |
osh | 5 ysh:upgrade can use both export builtin and setglobal ENV [osh stdout] Expected 'ZZ=export\nZZ=setglobal\n', got 'ZZ=\nZZ=setglobal\n' stdout: ZZ= ZZ=setglobalstderr: |
osh-cpp | 5 ysh:upgrade can use both export builtin and setglobal ENV [osh-cpp stdout] Expected 'ZZ=export\nZZ=setglobal\n', got 'ZZ=\nZZ=setglobal\n' stdout: ZZ= ZZ=setglobalstderr: |
osh | 6 PS4 environment variable is respected [osh stdout] Expected 'TODO\n', got '1\n2\n' stdout: 1 2stderr: %%% echo 1 %%% echo 2 |
osh-cpp | 6 PS4 environment variable is respected [osh-cpp stdout] Expected 'TODO\n', got '1\n2\n' stdout: 1 2stderr: %%% echo 1 %%% echo 2 |