spec test index / oilshell.org
status | ysh | |
FAIL | 7 | |
total | 7 | |
case | ysh | description |
0 | FAIL | with eval builtin command, in global scope |
details | ||
1 | FAIL | with eval builtin command, in local scope |
details | ||
2 | FAIL | with eval builtin command, making them global with names() and setVar() |
details | ||
3 | FAIL | with parseCommand() then io->eval(), in local scope |
details | ||
4 | FAIL | with parseCommand() then io->eval(cmd, vars={out_dict: {}}) |
details | ||
5 | FAIL | with evalToDict() |
details | ||
6 | FAIL | with runtime REFLECTION via __invoke__ - no parsing |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped 7 failed under osh
ysh | 0 with eval builtin command, in global scope [ysh stdout] Expected 'prefix a\nprefix b\n', got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
ysh | 1 with eval builtin command, in local scope [ysh stdout] Expected 'prefix a\nprefix b\n', got '' [ysh status] Expected 127, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
ysh | 2 with eval builtin command, making them global with names() and setVar() [ysh stdout] Expected 'local\nprefix a\nprefix b\n\nglobal\nprefix a\nprefix b\n' Got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
ysh | 3 with parseCommand() then io->eval(), in local scope [ysh stdout] Expected 'prefix a\nprefix b\n', got '' [ysh status] Expected 127, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
ysh | 4 with parseCommand() then io->eval(cmd, vars={out_dict: {}}) [ysh stdout] Expected 'prefix a\nprefix b\n', got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
ysh | 5 with evalToDict() [ysh stdout] Expected 'prefix a\nprefix b\n', got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
ysh | 6 with runtime REFLECTION via __invoke__ - no parsing [ysh stdout] Expected 'prefix a\nprefix b\n', got '' [ysh status] Expected 0, got 1 [ysh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |