spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 4 | 4 | |
FAIL | 3 | 3 | |
total | 7 | 7 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | global frame doesn't contain builtins like len(), dict(), io |
1 | pass | pass | global frame doesn't contain env vars |
2 | FAIL | FAIL | global frame doesn't have PWD, IFS |
details | details | ||
3 | FAIL | FAIL | __defaults__ is a Dict, showing default PATH, PS1 |
details | details | ||
4 | pass | pass | __builtins__ module |
5 | pass | pass | cd builtin respects ENV.HOME, not HOME |
6 | FAIL | FAIL | compgen -c respects ENV.PATH, not PATH |
details | details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 failed under osh
ysh | 2 global frame doesn't have PWD, IFS [ysh stdout] Expected '', got 'IFS=[ \t\n]\n' [ysh status] Expected 0, got 1 stdout: IFS=[ ]stderr: echo "PWD=[$PWD]" ^~~~ [ stdin ]:2: fatal: Undefined variable 'PWD' |
ysh_ALT | 2 global frame doesn't have PWD, IFS [ysh_ALT stdout] Expected '', got 'IFS=[ \t\n]\n' [ysh_ALT status] Expected 0, got 1 stdout: IFS=[ ]stderr: echo "PWD=[$PWD]" ^~~~ [ stdin ]:2: fatal: Undefined variable 'PWD' |
ysh | 3 __defaults__ is a Dict, showing default PATH, PS1 [ysh stdout] Expected '(Str) "Dict"\n', got '(Str) "Dict"\n(Dict) {}\n' stdout: (Str) "Dict" (Dict) {}stderr: |
ysh_ALT | 3 __defaults__ is a Dict, showing default PATH, PS1 [ysh_ALT stdout] Expected '(Str) "Dict"\n', got '(Str) "Dict"\n(Dict) {}\n' stdout: (Str) "Dict" (Dict) {}stderr: |
ysh | 6 compgen -c respects ENV.PATH, not PATH [ysh status] Expected 0, got 1 stdout: stderr: compgen -c | grep -w ls ^~~~ [ stdin ]:1: errexit PID 42829: command.Simple failed with status 1 compgen -c | grep -w ls ^~~~ [ stdin ]:1: errexit PID 42829: command.Pipeline failed with status 1 |
ysh_ALT | 6 compgen -c respects ENV.PATH, not PATH [ysh_ALT status] Expected 0, got 1 stdout: stderr: compgen -c | grep -w ls ^~~~ [ stdin ]:1: errexit PID 42834: command.Simple failed with status 1 compgen -c | grep -w ls ^~~~ [ stdin ]:1: errexit PID 42834: command.Pipeline failed with status 1 |