Results for builtins-special.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
0pass pass pass FAIL FAIL FAIL : is special and prefix assignments persist after special builtins
detailsdetailsdetails
1pass pass pass pass pass FAIL true is not special
details
2ok BUG pass FAIL FAIL pass Shift is special and the whole script exits if it returns non-zero
detailsdetailsdetailsdetails
3pass pass BUG FAIL FAIL FAIL Special builtins can't be redefined as functions
detailsdetailsdetailsdetails
4pass pass pass pass pass FAIL Non-special builtins CAN be redefined as functions
details

17 passed, 1 ok, 0 known unimplemented, 2 known bugs, 3 failed, 0 skipped

Details on runs that didn't PASS

osh0 : is special and prefix assignments persist after special builtins

[osh stdout] Expected 'bar\n', got '\n'

stdout:
stderr: 
osh_ALT0 : is special and prefix assignments persist after special builtins

[osh_ALT stdout] Expected 'bar\n', got '\n'

stdout:
stderr: 
osh-byterun0 : is special and prefix assignments persist after special builtins

[osh-byterun stdout] Expected 'bar\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun1 true is not special

[osh-byterun stdout] Expected '\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash2 Shift is special and the whole script exits if it returns non-zero

stdout:
stderr: 
_tmp/spec-bin/dash: 3: shift: can't shift that many
bash2 Shift is special and the whole script exits if it returns non-zero

stdout:
status=1
stderr:
osh2 Shift is special and the whole script exits if it returns non-zero

[osh stdout] Expected u'', got 'status=1\n'
[osh status] Expected 1, got 0

stdout:
status=1
stderr:
osh_ALT2 Shift is special and the whole script exits if it returns non-zero

[osh_ALT stdout] Expected u'', got 'status=1\n'
[osh_ALT status] Expected 1, got 0

stdout:
status=1
stderr:
mksh3 Special builtins can't be redefined as functions

stdout:
status=0
stderr:
osh3 Special builtins can't be redefined as functions

[osh status] Expected 2, got 0

stdout:
status=0
stderr:
osh_ALT3 Special builtins can't be redefined as functions

[osh_ALT status] Expected 2, got 0

stdout:
status=0
stderr:
osh-byterun3 Special builtins can't be redefined as functions

[osh-byterun status] Expected 2, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun4 Non-special builtins CAN be redefined as functions

[osh-byterun stdout] Expected u'true func\nstatus=0\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend