spec test index / oilshell.org
139 passed, 0 ok, 0 known unimplemented, 3 known bugs, 1 failed, 0 skipped
bash | 21 complete with nonexistent function stdout: status=0stderr: |
bash | 22 complete with no action stdout: status=0stderr: |
osh-byterun | 26 compgen doesn't respect -X for user-defined functions [osh-byterun stdout] Expected 'one\nthree\n--\ntwo\nbin\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__' |
osh-byterun | 27 compgen -W words -X filter [osh-byterun stdout] Expected 'one\nthree\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__' |
osh-byterun | 28 compgen -f -X filter -- $cur [osh-byterun stdout] Expected 'spam.py\nspam.sh\n--\nspam.py\n', got 'spam.py\nspam.sh\n--\n' [osh-byterun status] Expected 0, got 1 stdout: spam.py spam.sh --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__' |
bash | 33 Parse errors for compgen -W and complete -W stdout: status=1 status=0stderr: _tmp/spec-bin/bash: line 1: ${: bad substitution |
osh | 35 Runtime errors for compgen -F func [osh stdout] Expected 'status=1\n', got 'foo\nbar\nstatus=0\n' stdout: foo bar status=0stderr: Line 3 of '<stdin>' COMPREPLY+=( $(( 1 / 0 )) ) # FATAL, but we still have candidates ^ Divide by zero |
osh_ALT | 35 Runtime errors for compgen -F func [osh_ALT stdout] Expected 'status=1\n', got 'foo\nbar\nstatus=0\n' stdout: foo bar status=0stderr: Line 3 of '<stdin>' COMPREPLY+=( $(( 1 / 0 )) ) # FATAL, but we still have candidates ^ Divide by zero |
osh-byterun | 35 Runtime errors for compgen -F func [osh-byterun stdout] Expected 'status=1\n', got 'foo\nbar\nstatus=0\n' stdout: foo bar status=0stderr: Line 3 of '<stdin>' COMPREPLY+=( $(( 1 / 0 )) ) # FATAL, but we still have candidates ^ Divide by zero |