spec test index / oilshell.org
status | ysh | |
FAIL | 5 | |
total | 5 | |
case | ysh | description |
0 | FAIL | captureStdout() is like $() |
details | ||
1 | FAIL | captureStdout() failure |
details | ||
2 | FAIL | io->eval() is like eval builtin |
details | ||
3 | FAIL | io->eval() with failing command - caller must handle |
details | ||
4 | FAIL | io->eval() with exit |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 failed under osh
ysh | 0 captureStdout() is like $() [ysh stdout] Expected '(Str) "one\\ncaptured"\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 captureStdout() failure [ysh stdout] Expected '(Dict) {"status":1,"code":4,"message":"captureStdout(): command failed with status 1"}\n' Got '' [ysh status] Expected 4, 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 io->eval() is like eval builtin [ysh stdout] Expected 'one\ntwo\nstatus=null\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 io->eval() with failing command - caller must handle [ysh stdout] Expected 'one\n(Dict) {"code":1}\none\n', got '' [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 io->eval() with exit [ysh stdout] Expected 'one\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_ |