# Test various `bind` command invocations. This is meant to verify that # invalid flags, mode names, etc. are caught as well as to verify that valid # ones are allowed. echo \# Verify that an invalid bind mode is rejected. >&2 bind -m 'bad bind mode' \cX true echo \# Verify that an invalid bind mode target is rejected. >&2 bind -M bind-mode \cX true # This should succeed and result in a success, zero, status. bind -M bind_mode \cX true