| status | ysh | |
| FAIL | 9 | |
| total | 9 | |
| 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 | captureAll() is like $() but captures stderr and status |
| details | ||
| 4 | FAIL | captureAll() doesn't fail |
| details | ||
| 5 | FAIL | io->eval() with failing command - caller must handle |
| details | ||
| 6 | FAIL | io->eval() with exit |
| details | ||
| 7 | FAIL | io.glob() respects shell filters |
| details | ||
| 8 | FAIL | io.libcGlob() does not respect shell filters |
| details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped 9 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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| 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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| 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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 3 captureAll() is like $() but captures stderr and status [ysh stdout] Expected '(Dict) {"stdout":"stdout\\ncaptured\\n\\u0000","stderr":"stderr\\ncaptured\\n","status":42}\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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 4 captureAll() doesn't fail [ysh stdout] Expected '(Dict) {"code":0}\n(Dict) {"stdout":"out\\n","stderr":"err\\n","status":1}\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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 5 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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 6 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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 7 io.glob() respects shell filters [ysh stdout] Expected '(List) ["foo.md","foo.txt"]\n(List) ["-foo.txt",".gitignore","foo.md","foo.txt"]\n(List) ["-foo.txt",".gitignore","foo.txt"]\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 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 16, in <module>
from core import value
ImportError: cannot import name value
|
| ysh | 8 io.libcGlob() does not respect shell filters [ysh stdout] Expected '(List) ["-foo.txt","foo.txt"]\n(List) ["-foo.txt","foo.txt"]\n(List) ["-foo.txt","foo.txt"]\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 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 16, in <module>
from core import value
ImportError: cannot import name value
|