| status | osh | |
| FAIL | 18 | |
| total | 18 | |
| case | osh | description |
| 0 | FAIL | eval() is a pure function |
| details | ||
| 1 | FAIL | evalExpr() is a pure function |
| details | ||
| 2 | FAIL | Idiom to handle purity errors from untrusted config files |
| details | ||
| 3 | FAIL | Executor: can run user-defined Procs |
| details | ||
| 4 | FAIL | Executor: can run Hay (while Hay is hard-coded) |
| details | ||
| 5 | FAIL | Executor: External Commands not allowed |
| details | ||
| 6 | FAIL | Command subs, pipelines not allowed with --eval-pure |
| details | ||
| 7 | FAIL | Process subs, subshells not allowed with eval() |
| details | ||
| 8 | FAIL | Background job & |
| details | ||
| 9 | FAIL | Redirects |
| details | ||
| 10 | FAIL | Are any builtins allowed? true, false |
| details | ||
| 11 | FAIL | Are source or use builtins allowed? |
| details | ||
| 12 | FAIL | Can log to stderr in pure mode |
| details | ||
| 13 | FAIL | io and vm are not allowed |
| details | ||
| 14 | FAIL | Can't make an alias of io->eval and call it, etc. |
| details | ||
| 15 | FAIL | Globbing not allowed |
| details | ||
| 16 | FAIL | $RANDOM $SECONDS |
| details | ||
| 17 | FAIL | Purely-evaluated code can't set traps for later |
| details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 18 failed, 0 timeouts, 0 cases skipped 18 failed under osh
| osh | 0 eval() is a pure function [osh stdout] Expected '(Dict) {"a":1,"b":2}\nimpure code=5\n3\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 1 evalExpr() is a pure function [osh stdout] Expected 'pure=43\nimpure code=5\nimpure=45\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 2 Idiom to handle purity errors from untrusted config files [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 3 Executor: can run user-defined Procs [osh stdout] Expected '(List) ["p-outside","p-inside"]\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 4 Executor: can run Hay (while Hay is hard-coded) [osh stdout] Expected '{\n "version": "1.1"\n}\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 5 Executor: External Commands not allowed [osh stdout] Expected '1\n2\n3\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 6 Command subs, pipelines not allowed with --eval-pure [osh stdout] Expected 'command sub\ncommand-sub.sh=5\ncommand-sub.ysh=5\n\n3\neval\npipeline.sh=5\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 7 Process subs, subshells not allowed with eval() [osh stdout] Expected "1\n2\ncode=5 message=Process subs aren't allowed in pure mode (OILS-ERR-204)\n\nsubshell\ncode=5 message=Subshells aren't allowed in pure mode (OILS-ERR-204)\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 8 Background job & [osh stdout] Expected "code=5 message=Background jobs aren't allowed in pure mode (OILS-ERR-204)\n3\ncode=5 message=Pipelines aren't allowed in pure mode (OILS-ERR-204)\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 9 Redirects [osh stdout] Expected 'TODO\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 10 Are any builtins allowed? true, false [osh stdout] Expected 'true\nbuiltin true\ncommand true\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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 11 Are source or use builtins allowed? [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 12 Can log to stderr in pure mode [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 13 io and vm are not allowed [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 14 Can't make an alias of io->eval and call it, etc. [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 15 Globbing not allowed [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 16 $RANDOM $SECONDS [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|
| osh | 17 Purely-evaluated code can't set traps for later [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 27, in <module>
from core import shell
File "/home/uke/oil/core/shell.py", line 40, in <module>
from builtin import dirs_osh
File "/home/uke/oil/builtin/dirs_osh.py", line 15, in <module>
from oil_lang import path_stat
ImportError: No module named oil_lang
|