spec test index / oilshell.org
status | ysh | ysh_ALT | |
pass | 11 | 6 | |
FAIL | 0 | 5 | |
total | 11 | 11 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | join() |
1 | pass | FAIL | abs |
details | |||
2 | pass | FAIL | any() and all() |
details | |||
3 | pass | FAIL | sum() |
details | |||
4 | pass | pass | @[split(x)] respects IFS |
5 | pass | pass | @[maybe(x)] |
6 | pass | pass | maybe() on invalid type is fatal error |
7 | pass | pass | split() on invalid type is fatal error |
8 | pass | pass | @[glob(x)] |
9 | pass | FAIL | smoke test for two.sh |
details | |||
10 | pass | FAIL | smoke test for stream.ysh and table.ysh |
details |
17 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped
ysh_ALT | 1 abs [ysh_ALT stdout] Expected '505\n5\n0\n5\n', got '' [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 1138, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch return status File "/home/uke/oil/osh/cmd_eval.py", line 1953, in ExecuteAndCatch raise # 'eval break' and 'source return.sh', etc. File "/home/uke/oil/osh/cmd_eval.py", line 1825, in _Execute errexit_loc = process_sub_st.locs[i] File "/home/uke/oil/osh/cmd_eval.py", line 1536, in _Dispatch status = self._DoExpandedAlias(node) File "/home/uke/oil/osh/cmd_eval.py", line 827, in _DoSimple status = self._RunSimpleCommand(cmd_val, cmd_st, run_flags) File "/home/uke/oil/osh/cmd_eval.py", line 518, in _RunSimpleCommand run_flags) File "/home/uke/oil/core/executor.py", line 327, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/uke/oil/core/executor.py", line 211, in RunBuiltin status = builtin_func.Run(cmd_val) File "/home/uke/oil/builtin/meta_osh.py", line 158, in Run resolved = path_arg IndexError: list index out of range 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 |
ysh_ALT | 2 any() and all() [ysh_ALT stdout] Expected 'true\nfalse\nfalse\n__\ntrue\ntrue\nfalse\n', got '' [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 1138, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch return status File "/home/uke/oil/osh/cmd_eval.py", line 1953, in ExecuteAndCatch raise # 'eval break' and 'source return.sh', etc. File "/home/uke/oil/osh/cmd_eval.py", line 1825, in _Execute errexit_loc = process_sub_st.locs[i] File "/home/uke/oil/osh/cmd_eval.py", line 1536, in _Dispatch status = self._DoExpandedAlias(node) File "/home/uke/oil/osh/cmd_eval.py", line 827, in _DoSimple status = self._RunSimpleCommand(cmd_val, cmd_st, run_flags) File "/home/uke/oil/osh/cmd_eval.py", line 518, in _RunSimpleCommand run_flags) File "/home/uke/oil/core/executor.py", line 327, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/uke/oil/core/executor.py", line 211, in RunBuiltin status = builtin_func.Run(cmd_val) File "/home/uke/oil/builtin/meta_osh.py", line 158, in Run resolved = path_arg IndexError: list index out of range 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 |
ysh_ALT | 3 sum() [ysh_ALT stdout] Expected '3\n45\n42\n', got '' [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 1138, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch return status File "/home/uke/oil/osh/cmd_eval.py", line 1953, in ExecuteAndCatch raise # 'eval break' and 'source return.sh', etc. File "/home/uke/oil/osh/cmd_eval.py", line 1825, in _Execute errexit_loc = process_sub_st.locs[i] File "/home/uke/oil/osh/cmd_eval.py", line 1536, in _Dispatch status = self._DoExpandedAlias(node) File "/home/uke/oil/osh/cmd_eval.py", line 827, in _DoSimple status = self._RunSimpleCommand(cmd_val, cmd_st, run_flags) File "/home/uke/oil/osh/cmd_eval.py", line 518, in _RunSimpleCommand run_flags) File "/home/uke/oil/core/executor.py", line 327, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/uke/oil/core/executor.py", line 211, in RunBuiltin status = builtin_func.Run(cmd_val) File "/home/uke/oil/builtin/meta_osh.py", line 158, in Run resolved = path_arg IndexError: list index out of range 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 |
ysh_ALT | 9 smoke test for two.sh [ysh_ALT stdout] Expected 'status=1\n', got '' [ysh_ALT status] Expected 0, got 2 stdout: stderr: source --builtin osh/two.sh ^~~ [ stdin ]:1: source failed: No builtin file 'stdlib/osh/two.sh' source --builtin osh/two.sh ^~~~~~ [ stdin ]:1: errexit PID 36536: command.Simple failed with status 2 |
ysh_ALT | 10 smoke test for stream.ysh and table.ysh [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 1138, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/uke/oil/core/main_loop.py", line 375, in Batch return status File "/home/uke/oil/osh/cmd_eval.py", line 1953, in ExecuteAndCatch raise # 'eval break' and 'source return.sh', etc. File "/home/uke/oil/osh/cmd_eval.py", line 1825, in _Execute errexit_loc = process_sub_st.locs[i] File "/home/uke/oil/osh/cmd_eval.py", line 1536, in _Dispatch status = self._DoExpandedAlias(node) File "/home/uke/oil/osh/cmd_eval.py", line 827, in _DoSimple status = self._RunSimpleCommand(cmd_val, cmd_st, run_flags) File "/home/uke/oil/osh/cmd_eval.py", line 518, in _RunSimpleCommand run_flags) File "/home/uke/oil/core/executor.py", line 327, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/uke/oil/core/executor.py", line 211, in RunBuiltin status = builtin_func.Run(cmd_val) File "/home/uke/oil/builtin/meta_osh.py", line 158, in Run resolved = path_arg IndexError: list index out of range 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 |