spec test index / oilshell.org
status | bash | osh | |
pass | 3 | 3 | |
FAIL | 2 | 2 | |
total | 5 | 5 | |
case | bash | osh | description |
0 | pass | pass | bind -l should report readline functions |
1 | FAIL | FAIL | bind -p -P to print function names and key bindings |
details | details | ||
2 | pass | pass | bind -s -S accepted |
3 | pass | pass | bind -v -V accepted |
4 | FAIL | FAIL | bind -q |
details | details |
6 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 2 failed under osh
bash | 1 bind -p -P to print function names and key bindings [bash stdout] Expected '"\\C-p": menu-complete-backward\n\nmenu-complete-backward can be found on "\\C-p".\n' Got '# menu-complete-backward (not bound)\n\nmenu-complete-backward is not bound to any keys\n' stdout: # menu-complete-backward (not bound) menu-complete-backward is not bound to any keysstderr: bash: line 1: bind: warning: line editing not enabled bash: line 4: bind: warning: line editing not enabled |
osh | 1 bind -p -P to print function names and key bindings [osh stdout] Expected '"\\C-p": menu-complete-backward\n\nmenu-complete-backward can be found on "\\C-p".\n' Got '# menu-complete-backward (not bound)\n\nmenu-complete-backward is not bound to any keys\n' stdout: # menu-complete-backward (not bound) menu-complete-backward is not bound to any keysstderr: |
bash | 4 bind -q [bash stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nmenu-complete can be invoked via "\\C-n".\nstatus=0\n' Got 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nmenu-complete is not bound to any keys.\nstatus=1\n' stdout: status=1 vi-subst is not bound to any keys. status=1 menu-complete is not bound to any keys. status=1stderr: bash: line 1: bind: warning: line editing not enabled bash: line 1: bind: `zz-bad': unknown function name bash: line 5: bind: warning: line editing not enabled bash: line 8: bind: warning: line editing not enabled |
osh | 4 bind -q [osh stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nmenu-complete can be invoked via "\\C-n".\nstatus=0\n' Got 'status=1\nstatus=1\nstatus=1\n' stdout: status=1 status=1 status=1stderr: bind -q zz-bad ^~~~ [ stdin ]:1: bind error: `zz-bad': unknown function name bind -q vi-subst ^~~~ [ stdin ]:5: bind error: vi-subst is not bound to any keys bind -q menu-complete ^~~~ [ stdin ]:8: bind error: menu-complete is not bound to any keys |