spec test index / oilshell.org
status | osh | |
FAIL | 6 | |
total | 6 | |
case | osh | description |
0 | FAIL | Turn off external binaries with shvar PATH='' {} |
details | ||
1 | FAIL | More shvar PATH='' |
details | ||
2 | FAIL | builtins and externals not available in hay eval |
details | ||
3 | FAIL | procs in hay eval |
details | ||
4 | FAIL | variables mutated within hay eval don't persist |
details | ||
5 | FAIL | hay at top level allows arbitrary commands |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 failed under osh
osh | 0 Turn off external binaries with shvar PATH='' {} [osh stdout] Expected 'status=0\nstatus=127\nstatus=127\nstatus=0\n' Got '' [osh status] Expected 0, got 1 [osh 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_ |
osh | 1 More shvar PATH='' [osh stdout] Expected 'status=127\nstatus=127\n_status 127\n', got '' [osh status] Expected 0, got 1 [osh 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_ |
osh | 2 builtins and externals not available in hay eval [osh stdout] Expected 'status 127\nstatus 127\n', got '' [osh status] Expected 0, got 1 [osh 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_ |
osh | 3 procs in hay eval [osh stdout] Expected 'outside\ninside\n1 OUT\n', got '' [osh status] Expected 0, got 1 [osh 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_ |
osh | 4 variables mutated within hay eval don't persist [osh stdout] Expected 'x = 42\n', got '' [osh status] Expected 0, got 1 [osh 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_ |
osh | 5 hay at top level allows arbitrary commands [osh stdout] Expected '3\n4\ninside\n', got '' [osh status] Expected 127, got 1 [osh 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_ |