spec test index / oilshell.org
status | ysh | ysh_ALT | |
FAIL | 5 | 5 | |
total | 5 | 5 | |
case | ysh | ysh_ALT | description |
0 | FAIL | FAIL | value.Expr test - positional test |
details | details | ||
1 | FAIL | FAIL | value.Expr test - named test |
details | details | ||
2 | FAIL | FAIL | assert builtin |
details | details | ||
3 | FAIL | FAIL | ysh --tool test file |
details | details | ||
4 | FAIL | FAIL | Describe Prototype |
details | details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped 5 failed under osh
ysh | 0 value.Expr test - positional test [ysh stdout] Expected '', got 'parens\n' [ysh status] Expected 0, got 1 stdout: parensstderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) test-expr (42 + 1) ^ [ stdin ]:4: fatal: 'test-expr' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh_ALT | 0 value.Expr test - positional test [ysh_ALT stdout] Expected '', got 'parens\n' [ysh_ALT status] Expected 0, got 1 stdout: parensstderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) test-expr (42 + 1) ^ [ stdin ]:4: fatal: 'test-expr' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh | 1 value.Expr test - named test [ysh stdout] Expected '', got 'parens\n' [ysh status] Expected 0, got 1 stdout: parensstderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) test-named (n=42 + 1) ^ [ stdin ]:4: fatal: 'test-named' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh_ALT | 1 value.Expr test - named test [ysh_ALT stdout] Expected '', got 'parens\n' [ysh_ALT status] Expected 0, got 1 stdout: parensstderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) test-named (n=42 + 1) ^ [ stdin ]:4: fatal: 'test-named' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh | 2 assert builtin [ysh status] Expected 0, got 1 stdout: stderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) assert [42 === x] ^ [ stdin ]:6: fatal: 'assert' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh_ALT | 2 assert builtin [ysh_ALT status] Expected 0, got 1 stdout: stderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) assert [42 === x] ^ [ stdin ]:6: fatal: 'assert' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh | 3 ysh --tool test file [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 198, in <module> sys.exit(main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 170, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 1115, in Main raise AssertionError('TODO') AssertionError: TODO $SH --tool test mytest.ysh ^~~ [ stdin ]:7: errexit PID 36555: command.Simple failed with status 1 |
ysh_ALT | 3 ysh --tool test file [ysh_ALT status] Expected 0, got 1 [ysh_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oil.py", line 34, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/uke/oil/bin/oils_for_unix.py", line 170, in main return AppBundleMain(argv) File "/home/uke/oil/bin/oils_for_unix.py", line 137, in AppBundleMain return shell.Main('ysh', arg_r, environ, login_shell, loader, readline) File "/home/uke/oil/core/shell.py", line 1115, in Main raise AssertionError('TODO') AssertionError: TODO FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.22.0/_bin/ysh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 $SH --tool test mytest.ysh ^~~ [ stdin ]:7: errexit PID 36562: command.Simple failed with status 1 |
ysh | 4 Describe Prototype [ysh stdout] Expected 'TODO\n', got '' [ysh status] Expected 0, got 1 stdout: stderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) describe p { ^ [ stdin ]:9: fatal: 'describe' appears to be external. External commands don't accept typed args (OILS-ERR-200) |
ysh_ALT | 4 Describe Prototype [ysh_ALT stdout] Expected 'TODO\n', got '' [ysh_ALT status] Expected 0, got 1 stdout: stderr: module stdlib/testing || return 0 ^~~~~~ stdlib/testing.ysh:16: 'module' not found (OILS-ERR-100) describe p { ^ [ stdin ]:9: fatal: 'describe' appears to be external. External commands don't accept typed args (OILS-ERR-200) |