spec test index / oilshell.org
case | bash | osh | osh_ALT | osh-byterun | description |
0 | pass | FAIL | FAIL | FAIL | sh -i |
details | details | details | |||
1 | pass | pass | pass | pass | [] are non-printing |
2 | pass | pass | pass | pass | literal escapes |
3 | pass | pass | pass | pass | special case for $ |
4 | pass | pass | pass | pass | PS1 evaluation order |
5 | pass | pass | pass | pass | PS1 evaluation order 2 |
6 | pass | pass | pass | pass | \1004 |
7 | pass | pass | pass | pass | \001 octal literals are supported |
8 | pass | pass | pass | pass | \555 is beyond max octal byte of \377 and wrapped to m |
9 | pass | pass | pass | pass | \x55 hex literals not supported |
10 | BUG | pass | pass | pass | Single backslash |
details | |||||
11 | BUG | pass | pass | pass | Escaped backslash |
details | |||||
12 | pass | pass | pass | pass | \0001 octal literals are not supported |
13 | pass | pass | pass | pass | \u0001 unicode literals not supported |
14 | pass | pass | pass | pass | constant string |
15 | pass | pass | pass | pass | hostname |
16 | pass | pass | pass | pass | username |
17 | pass | pass | pass | pass | current working dir |
18 | pass | pass | pass | pass | \W is basename of working dir |
71 passed, 0 ok, 0 known unimplemented, 2 known bugs, 1 failed, 0 skipped
osh | 0 sh -i [osh stdout] Expected 'foo\n', got '[osh] lisa /home/andy/git/oilshell/oil$ foo\n[osh] lisa /home/andy/git/oilshell/oil$ ^D\n' [osh stderr] Expected '$ echo foo\n$ exit\n', got "osh 'shopt' usage error: Invalid option 'globstar'\n" stdout: [osh] lisa /home/andy/git/oilshell/oil$ foo [osh] lisa /home/andy/git/oilshell/oil$ ^Dstderr: osh 'shopt' usage error: Invalid option 'globstar' |
osh_ALT | 0 sh -i [osh_ALT stdout] Expected 'foo\n', got '[osh] lisa /home/andy/git/oilshell/oil$ foo\n[osh] lisa /home/andy/git/oilshell/oil$ ^D\n' [osh_ALT stderr] Expected '$ echo foo\n$ exit\n', got "osh 'shopt' usage error: Invalid option 'globstar'\n" stdout: [osh] lisa /home/andy/git/oilshell/oil$ foo [osh] lisa /home/andy/git/oilshell/oil$ ^Dstderr: osh 'shopt' usage error: Invalid option 'globstar' |
osh-byterun | 0 sh -i [osh-byterun stdout] Expected 'foo\n', got '' [osh-byterun stderr] Expected '$ echo foo\n$ exit\n', got 'Error in atexit._run_exitfuncs:\nTraceback (most recent call last):\n File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs\n func(*targs, **kargs)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__\n self.func_globals, {})\n File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame\n frame = Frame(code, f_globals, f_locals, self.frame)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__\n self.f_builtins = f_locals[\'__builtins__\']\nKeyError: \'__builtins__\'\nError in sys.exitfunc:\nTraceback (most recent call last):\n File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs\n func(*targs, **kargs)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__\n self.func_globals, {})\n File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame\n frame = Frame(code, f_globals, f_locals, self.frame)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__\n self.f_builtins = f_locals[\'__builtins__\']\nKeyError: \'__builtins__\'\nosh \'shopt\' usage error: Invalid option \'globstar\'\nFATAL: maximum recursion depth exceeded in __instancecheck__\nError in atexit._run_exitfuncs:\nTraceback (most recent call last):\n File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs\n func(*targs, **kargs)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__\n self.func_globals, {})\n File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame\n frame = Frame(code, f_globals, f_locals, self.frame)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__\n self.f_builtins = f_locals[\'__builtins__\']\nKeyError: \'__builtins__\'\nError in sys.exitfunc:\nTraceback (most recent call last):\n File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs\n func(*targs, **kargs)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 93, in __call__\n self.func_globals, {})\n File "/home/andy/git/oilshell/oil/opy/byterun/pyvm2.py", line 164, in make_frame\n frame = Frame(code, f_globals, f_locals, self.frame)\n File "/home/andy/git/oilshell/oil/opy/byterun/pyobj.py", line 169, in __init__\n self.f_builtins = f_locals[\'__builtins__\']\nKeyError: \'__builtins__\'\n' [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__' |
bash | 10 Single backslash stdout: \stderr: |
bash | 11 Escaped backslash stdout: \stderr: |