Results for prompt.test.sh

casebashoshosh_ALTosh-byterundescription
0pass FAIL FAIL FAIL sh -i
detailsdetailsdetails
1pass pass pass pass [] are non-printing
2pass pass pass pass literal escapes
3pass pass pass pass special case for $
4pass pass pass pass PS1 evaluation order
5pass pass pass pass PS1 evaluation order 2
6pass pass pass pass \1004
7pass pass pass pass \001 octal literals are supported
8pass pass pass pass \555 is beyond max octal byte of \377 and wrapped to m
9pass pass pass pass \x55 hex literals not supported
10BUG pass pass pass Single backslash
details
11BUG pass pass pass Escaped backslash
details
12pass pass pass pass \0001 octal literals are not supported
13pass pass pass pass \u0001 unicode literals not supported
14pass pass pass pass constant string
15pass pass pass pass hostname
16pass pass pass pass username
17pass pass pass pass current working dir
18pass pass pass pass \W is basename of working dir

71 passed, 0 ok, 0 known unimplemented, 2 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

osh0 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$ ^D
stderr:
osh 'shopt' usage error: Invalid option 'globstar'
osh_ALT0 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$ ^D
stderr:
osh 'shopt' usage error: Invalid option 'globstar'
osh-byterun0 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__'
bash10 Single backslash

stdout:
\
stderr:
bash11 Escaped backslash

stdout:
\
stderr: