spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | description |
0 | pass | pass | pass | FAIL | FAIL | : is special and prefix assignments persist after special builtins |
details | details | |||||
1 | pass | pass | pass | pass | pass | true is not special |
2 | ok | BUG | pass | FAIL | FAIL | Shift is special and the whole script exits if it returns non-zero |
details | details | details | details | |||
3 | pass | pass | BUG | FAIL | FAIL | Special builtins can't be redefined as functions |
details | details | details | ||||
4 | pass | pass | pass | pass | pass | Non-special builtins CAN be redefined as functions |
16 passed, 1 ok, 0 known unimplemented, 2 known bugs, 3 failed, 0 skipped
osh | 0 : is special and prefix assignments persist after special builtins [osh stdout] Expected 'bar\n', got '\n' stdout: stderr: |
osh_ALT | 0 : is special and prefix assignments persist after special builtins [osh_ALT stdout] Expected 'bar\n', got '\n' stdout: stderr: |
dash | 2 Shift is special and the whole script exits if it returns non-zero stdout: stderr: /bin/dash: 3: shift: can't shift that many |
bash | 2 Shift is special and the whole script exits if it returns non-zero stdout: status=1stderr: |
osh | 2 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=1stderr: |
osh_ALT | 2 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=1stderr: |
mksh | 3 Special builtins can't be redefined as functions stdout: status=0stderr: |
osh | 3 Special builtins can't be redefined as functions [osh status] Expected 2, got 0 stdout: status=0stderr: |
osh_ALT | 3 Special builtins can't be redefined as functions [osh_ALT status] Expected 2, got 0 stdout: status=0stderr: |