spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | pass | Normal and braced |
1 | pass | pass | pass | pass | pass | pass | In function |
2 | pass | pass | pass | pass | pass | pass | $0 with -c |
3 | pass | pass | pass | pass | pass | pass | $0 with stdin |
4 | pass | pass | pass | pass | pass | FAIL | $0 with -i |
details | |||||||
5 | pass | pass | pass | pass | pass | pass | $0 with filename |
6 | pass | pass | pass | pass | pass | pass | $@ with filename |
41 passed, 0 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped
osh-byterun | 4 $0 with -i [osh-byterun stdout] Expected 'sh\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__ self.func_globals, {}) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame frame = Frame(code, f_globals, f_locals, self.frame) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__ self.f_builtins = f_locals['__builtins__'] KeyError: '__builtins__' Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__ self.func_globals, {}) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame frame = Frame(code, f_globals, f_locals, self.frame) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__ self.f_builtins = f_locals['__builtins__'] KeyError: '__builtins__' osh 'shopt' usage error: Invalid option 'globstar' FATAL: maximum recursion depth exceeded in __instancecheck__ Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__ self.func_globals, {}) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame frame = Frame(code, f_globals, f_locals, self.frame) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__ self.f_builtins = f_locals['__builtins__'] KeyError: '__builtins__' Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__ self.func_globals, {}) File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame frame = Frame(code, f_globals, f_locals, self.frame) File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__ self.f_builtins = f_locals['__builtins__'] KeyError: '__builtins__' |