Results for builtins-special.test.sh

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

14 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: 
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:
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: