spec test index / oilshell.org
status | ysh | |
FAIL | 8 | |
total | 8 | |
case | ysh | description |
0 | FAIL | ctx push and set |
details | ||
1 | FAIL | ctx emit |
details | ||
2 | FAIL | nested ctx |
details | ||
3 | FAIL | error in context |
details | ||
4 | FAIL | no context, set |
details | ||
5 | FAIL | no context, emit |
details | ||
6 | FAIL | mini-parseArgs |
details | ||
7 | FAIL | ctx with value.Place, not List/Dict (error location bug fix) |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped 8 failed under osh
ysh | 0 ctx push and set [ysh stdout] Expected '{\n "key1": "value1",\n "key2": "value2"\n}\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 ctx emit [ysh stdout] Expected '{\n "flag": [\n {\n "short_name": "-v"\n }\n ]\n}\n{\n "flag": [\n {\n "short_name": "-v"\n },\n {\n "short_name": "-c"\n }\n ]\n}\n{\n "flag": [\n {\n "short_name": "-v"\n },\n {\n "short_name": "-c"\n }\n ]\n}\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 | 2 nested ctx [ysh stdout] Expected '{\n "from": "a"\n}\n{\n "from": "b"\n}\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 error in context [ysh stdout] Expected 'status=100\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 | 4 no context, set [ysh status] Expected 3, 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 no context, emit [ysh status] Expected 3, 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 mini-parseArgs [ysh stdout] Expected '{\n "flag": [\n {\n "short_name": "-t",\n "long_name": "--tsv",\n "type": "Bool",\n "help": "Output as a TSV"\n },\n {\n "short_name": "-r",\n "long_name": "--recursive",\n "type": "Bool",\n "help": "Recurse into the given directory"\n },\n {\n "short_name": "-N",\n "long_name": "--count",\n "type": "Int",\n "help": "Process no more than N files"\n }\n ],\n "arg": [\n {\n "name": "path"\n }\n ]\n}\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 | 7 ctx with value.Place, not List/Dict (error location bug fix) [ysh status] Expected 3, 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_ |