Results for builtin-bind.test.sh

statusoshosh-cpp
pass 42
FAIL 13
total55
caseoshosh-cppdescription
0pass pass bind -l should report readline functions
1pass FAIL bind -p -P to print function names and key bindings
details
2pass pass bind -s -S accepted
3pass FAIL bind -v -V accepted
details
4FAIL FAIL bind -q
detailsdetails
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh-cpp1 bind -p -P to print function names and key bindings

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

stdout:
stderr: 
osh-cpp3 bind -v -V accepted

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

stdout:
stderr: 
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=1\nstatus=1\nyank can be invoked via "\\C-y".\nstatus=0\n'

stdout:
status=1
status=1
yank can be invoked via "\C-y".
status=0
stderr:
  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
osh-cpp4 bind -q

[osh-cpp 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: