Results for builtin-bind.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 9000112
FAIL 0999887
total9999999
casebashmkshkshtoyshsushbrushoshdescription
0pass FAIL FAIL FAIL FAIL FAIL pass bind -l should report readline functions
detailsdetailsdetailsdetailsdetails
1pass FAIL FAIL FAIL FAIL FAIL FAIL bind -p -P to print function names and key bindings
detailsdetailsdetailsdetailsdetailsdetails
2pass FAIL FAIL FAIL pass pass pass bind -s -S accepted
detailsdetailsdetails
3pass FAIL FAIL FAIL FAIL FAIL FAIL bind -v -V accepted
detailsdetailsdetailsdetailsdetailsdetails
4pass FAIL FAIL FAIL FAIL FAIL FAIL bind -q
detailsdetailsdetailsdetailsdetailsdetails
5pass FAIL FAIL FAIL FAIL FAIL FAIL bind -X
detailsdetailsdetailsdetailsdetailsdetails
6pass FAIL FAIL FAIL FAIL FAIL FAIL bind -m with bind -x/-X
detailsdetailsdetailsdetailsdetailsdetails
7pass FAIL FAIL FAIL FAIL FAIL FAIL bind -r
detailsdetailsdetailsdetailsdetailsdetails
8pass FAIL FAIL FAIL FAIL FAIL FAIL bind -r of bind -x commands
detailsdetailsdetailsdetailsdetailsdetails
13 passed, 0 OK, 0 not implemented, 0 BUG, 50 failed, 0 timeouts, 0 cases skipped
7 failed under osh

Details on runs that didn't PASS

mksh0 bind -l should report readline functions

[mksh stdout] Expected 'accept-line\n', got ''
[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[1]: bind: can't bind, not a tty
ksh0 bind -l should report readline functions

[ksh stdout] Expected 'accept-line\n', got ''
[ksh status] Expected 0, got 1

stdout:
stderr: 
E: ksh: <stdin>[1]: bind: can't bind, not a tty
toysh0 bind -l should report readline functions

[toysh stdout] Expected 'accept-line\n', got ''
[toysh status] Expected 0, got 1

stdout:
stderr: 
sh: bind: No such file or directory
sush0 bind -l should report readline functions

[sush stdout] Expected 'accept-line\n', got ''
[sush status] Expected 0, got 1

stdout:
stderr: 
brush0 bind -l should report readline functions

[brush stdout] Expected 'accept-line\n', got ''

stdout:
stderr: 
bind: key bindings not supported in this config
mksh1 bind -p -P to print function names and key bindings

[mksh stdout] Expected '% vi-subst (not bound)\n\nvi-subst is not bound to any keys\n' Got '\n'
[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[1]: bind: -p: unknown option
mksh: <stdin>[4]: bind: -P: unknown option
ksh1 bind -p -P to print function names and key bindings

[ksh stdout] Expected '% vi-subst (not bound)\n\nvi-subst is not bound to any keys\n' Got '\n'
[ksh status] Expected 0, got 1

stdout:
stderr: 
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[4]: bind: can't bind, not a tty
toysh1 bind -p -P to print function names and key bindings

[toysh stdout] Expected '% vi-subst (not bound)\n\nvi-subst is not bound to any keys\n' Got '\n'
[toysh status] Expected 0, got 1

stdout:
stderr: 
sh: bind: No such file or directory
sh: bind: No such file or directory
sush1 bind -p -P to print function names and key bindings

[sush stdout] Expected '% vi-subst (not bound)\n\nvi-subst is not bound to any keys\n' Got '\n'
[sush status] Expected 0, got 1

stdout:
stderr: 
brush1 bind -p -P to print function names and key bindings

[brush stdout] Expected '% vi-subst (not bound)\n\nvi-subst is not bound to any keys\n' Got '\n'

stdout:
stderr: 
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh1 bind -p -P to print function names and key bindings

[osh stdout] Expected '% vi-subst (not bound)\n\nvi-subst is not bound to any keys\n' Got '\n'
[osh status] Expected 0, got 1

stdout:
stderr: 
mksh2 bind -s -S accepted

[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[1]: bind: -s: unknown option
mksh: <stdin>[2]: bind: -S: unknown option
ksh2 bind -s -S accepted

[ksh status] Expected 0, got 1

stdout:
stderr: 
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[2]: bind: can't bind, not a tty
toysh2 bind -s -S accepted

[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: bind: No such file or directory
sh: bind: No such file or directory
mksh3 bind -v -V accepted

[mksh stdout] Expected "set blink-matching-paren off\n\nblink-matching-paren is set to 'off'\n" Got '\n'

stdout:
stderr: 
mksh: <stdin>[1]: bind: -v: unknown option
mksh: <stdin>[4]: bind: -V: unknown option
ksh3 bind -v -V accepted

[ksh stdout] Expected "set blink-matching-paren off\n\nblink-matching-paren is set to 'off'\n" Got '\n'

stdout:
stderr: 
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[4]: bind: can't bind, not a tty
toysh3 bind -v -V accepted

[toysh stdout] Expected "set blink-matching-paren off\n\nblink-matching-paren is set to 'off'\n" Got '\n'

stdout:
stderr: 
sh: bind: No such file or directory
sh: bind: No such file or directory
sush3 bind -v -V accepted

[sush stdout] Expected "set blink-matching-paren off\n\nblink-matching-paren is set to 'off'\n" Got '\n'

stdout:
stderr: 
brush3 bind -v -V accepted

[brush stdout] Expected "set blink-matching-paren off\n\nblink-matching-paren is set to 'off'\n" Got '\n'

stdout:
stderr: 
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh3 bind -v -V accepted

[osh stdout] Expected "set blink-matching-paren off\n\nblink-matching-paren is set to 'off'\n" Got '\n'

stdout:
stderr: 
mksh4 bind -q

[mksh stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
mksh: <stdin>[1]: bind: -q: unknown option
mksh: <stdin>[5]: bind: -q: unknown option
mksh: <stdin>[8]: bind: -q: unknown option
ksh4 bind -q

[ksh stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[5]: bind: can't bind, not a tty
E: ksh: <stdin>[8]: bind: can't bind, not a tty
toysh4 bind -q

[toysh stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n' Got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sush4 bind -q

[sush stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n' Got 'status=0\nstatus=0\nstatus=0\n'

stdout:
status=0
status=0
status=0
stderr:
brush4 bind -q

[brush stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n' Got 'status=99\nstatus=99\nstatus=99\n'

stdout:
status=99
status=99
status=99
stderr:
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh4 bind -q

[osh stdout] Expected 'status=1\nvi-subst is not bound to any keys.\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n' Got 'status=0\nstatus=0\nstatus=0\n'

stdout:
status=0
status=0
status=0
stderr:
mksh5 bind -X

[mksh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\necho foo\nstatus=0\n' Got 'status=1\nstatus=1\n'

stdout:
status=1
status=1
stderr:
mksh: <stdin>[1]: bind: -X: unknown option
mksh: <stdin>[4]: bind: -x: unknown option
mksh: <stdin>[5]: bind: -X: unknown option
mksh: <stdin>[6]: bind: -X: unknown option
ksh5 bind -X

[ksh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\necho foo\nstatus=0\n' Got 'status=1\nstatus=1\n'

stdout:
status=1
status=1
stderr:
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[4]: bind: can't bind, not a tty
E: ksh: <stdin>[5]: bind: can't bind, not a tty
E: ksh: <stdin>[6]: bind: can't bind, not a tty
toysh5 bind -X

[toysh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\necho foo\nstatus=0\n' Got 'status=1\nstatus=1\n'

stdout:
status=1
status=1
stderr:
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sush5 bind -X

[sush stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\necho foo\nstatus=0\n' Got 'status=1\nstatus=1\n'

stdout:
status=1
status=1
stderr:
brush5 bind -X

[brush stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\necho foo\nstatus=0\n' Got 'status=1\nstatus=1\n'

stdout:
status=1
status=1
stderr:
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh5 bind -X

[osh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\necho foo\nstatus=0\n' Got 'status=1\nstatus=1\n'

stdout:
status=1
status=1
stderr:
mksh6 bind -m with bind -x/-X

[mksh stdout] Expected 'status=1\nemacs\nstatus=0\nvi\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
mksh: <stdin>[1]: bind: -X: unknown option
mksh: <stdin>[4]: bind: can't bind, not a tty
mksh: <stdin>[4]: bind: can't bind, not a tty
mksh: <stdin>[4]: bind: can't bind, not a tty
mksh: <stdin>[5]: bind: can't bind, not a tty
mksh: <stdin>[5]: bind: can't bind, not a tty
mksh: <stdin>[8]: bind: can't bind, not a tty
mksh: <stdin>[8]: bind: can't bind, not a tty
mksh: <stdin>[8]: bind: can't bind, not a tty
mksh: <stdin>[9]: bind: can't bind, not a tty
mksh: <stdin>[9]: bind: can't bind, not a tty
ksh6 bind -m with bind -x/-X

[ksh stdout] Expected 'status=1\nemacs\nstatus=0\nvi\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[4]: bind: can't bind, not a tty
E: ksh: <stdin>[5]: bind: can't bind, not a tty
E: ksh: <stdin>[8]: bind: can't bind, not a tty
E: ksh: <stdin>[9]: bind: can't bind, not a tty
toysh6 bind -m with bind -x/-X

[toysh stdout] Expected 'status=1\nemacs\nstatus=0\nvi\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sush6 bind -m with bind -x/-X

[sush stdout] Expected 'status=1\nemacs\nstatus=0\nvi\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
brush6 bind -m with bind -x/-X

[brush stdout] Expected 'status=1\nemacs\nstatus=0\nvi\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh6 bind -m with bind -x/-X

[osh stdout] Expected 'status=1\nemacs\nstatus=0\nvi\nstatus=0\n', got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
mksh7 bind -r

[mksh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
mksh: <stdin>[1]: bind: -q: unknown option
mksh: <stdin>[4]: bind: can't bind, not a tty
mksh: <stdin>[5]: bind: -q: unknown option
mksh: <stdin>[8]: bind: -r: unknown option
mksh: <stdin>[9]: bind: -q: unknown option
ksh7 bind -r

[ksh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[4]: bind: can't bind, not a tty
E: ksh: <stdin>[5]: bind: can't bind, not a tty
E: ksh: <stdin>[8]: bind: can't bind, not a tty
E: ksh: <stdin>[9]: bind: can't bind, not a tty
toysh7 bind -r

[toysh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sush7 bind -r

[sush stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
brush7 bind -r

[brush stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh7 bind -r

[osh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
mksh8 bind -r of bind -x commands

[mksh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
mksh: <stdin>[1]: bind: -X: unknown option
mksh: <stdin>[4]: bind: -x: unknown option
mksh: <stdin>[5]: bind: -X: unknown option
mksh: <stdin>[8]: bind: -r: unknown option
mksh: <stdin>[9]: bind: -X: unknown option
ksh8 bind -r of bind -x commands

[ksh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
E: ksh: <stdin>[1]: bind: can't bind, not a tty
E: ksh: <stdin>[4]: bind: can't bind, not a tty
E: ksh: <stdin>[5]: bind: can't bind, not a tty
E: ksh: <stdin>[8]: bind: can't bind, not a tty
E: ksh: <stdin>[9]: bind: can't bind, not a tty
toysh8 bind -r of bind -x commands

[toysh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sh: bind: No such file or directory
sush8 bind -r of bind -x commands

[sush stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
brush8 bind -r of bind -x commands

[brush stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr:
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
bind: key bindings not supported in this config
osh8 bind -r of bind -x commands

[osh stdout] Expected 'status=1\n\\C-o\\C-s\\C-h\nstatus=0\nstatus=1\n' Got 'status=1\nstatus=1\nstatus=1\n'

stdout:
status=1
status=1
status=1
stderr: