spec test index / oilshell.org
status | bash | osh | |
pass | 1 | 0 | |
FAIL | 0 | 1 | |
total | 1 | 1 | |
case | bash | osh | description |
0 | pass | FAIL | bind -l should report readline functions |
details |
1 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 0 bind -l should report readline functions [osh stdout] Expected 'abort\naccept-line\nalias-expand-line\narrow-key-prefix\nbackward-byte\nbackward-char\nbackward-delete-char\nbackward-kill-line\nbackward-kill-word\nbackward-word\nbeginning-of-history\nbeginning-of-line\nbracketed-paste-begin\ncall-last-kbd-macro\ncapitalize-word\ncharacter-search\ncharacter-search-backward\nclear-display\nclear-screen\ncomplete\ncomplete-command\ncomplete-filename\ncomplete-hostname\ncomplete-into-braces\ncomplete-username\ncomplete-variable\ncopy-backward-word\ncopy-forward-word\ncopy-region-as-kill\ndabbrev-expand\ndelete-char\ndelete-char-or-list\ndelete-horizontal-space\ndigit-argument\ndisplay-shell-version\ndo-lowercase-version\ndowncase-word\ndump-functions\ndump-macros\ndump-variables\ndynamic-complete-history\nedit-and-execute-command\nemacs-editing-mode\nend-kbd-macro\nend-of-history\nend-of-line\nexchange-point-and-mark\nfetch-history\nforward-backward-delete-char\nforward-byte\nforward-char\nforward-search-history\nforward-word\nglob-complete-word\nglob-expand-word\nglob-list-expansions\nhistory-and-alias-expand-line\nhistory-expand-line\nhistory-search-backward\nhistory-search-forward\nhistory-substring-search-backward\nhistory-substring-search-forward\ninsert-comment\ninsert-completions\ninsert-last-argument\nkill-line\nkill-region\nkill-whole-line\nkill-word\nmagic-space\nmenu-complete\nmenu-complete-backward\nnext-history\nnext-screen-line\nnon-incremental-forward-search-history\nnon-incremental-forward-search-history-again\nnon-incremental-reverse-search-history\nnon-incremental-reverse-search-history-again\nold-menu-complete\noperate-and-get-next\noverwrite-mode\npossible-command-completions\npossible-completions\npossible-filename-completions\npossible-hostname-completions\npossible-username-completions\npossible-variable-completions\nprevious-history\nprevious-screen-line\nprint-last-kbd-macro\nquoted-insert\nre-read-init-file\nredraw-current-line\nreverse-search-history\nrevert-line\nself-insert\nset-mark\nshell-backward-kill-word\nshell-backward-word\nshell-expand-line\nshell-forward-word\nshell-kill-word\nshell-transpose-words\nskip-csi-sequence\nspell-correct-word\nstart-kbd-macro\ntab-insert\ntilde-expand\ntranspose-chars\ntranspose-words\ntty-status\nundo\nuniversal-argument\nunix-filename-rubout\nunix-line-discard\nunix-word-rubout\nupcase-word\nvi-append-eol\nvi-append-mode\nvi-arg-digit\nvi-bWord\nvi-back-to-indent\nvi-backward-bigword\nvi-backward-word\nvi-bword\nvi-change-case\nvi-change-char\nvi-change-to\nvi-char-search\nvi-column\nvi-complete\nvi-delete\nvi-delete-to\nvi-eWord\nvi-edit-and-execute-command\nvi-editing-mode\nvi-end-bigword\nvi-end-word\nvi-eof-maybe\nvi-eword\nvi-fWord\nvi-fetch-history\nvi-first-print\nvi-forward-bigword\nvi-forward-word\nvi-fword\nvi-goto-mark\nvi-insert-beg\nvi-insertion-mode\nvi-match\nvi-movement-mode\nvi-next-word\nvi-overstrike\nvi-overstrike-delete\nvi-prev-word\nvi-put\nvi-redo\nvi-replace\nvi-rubout\nvi-search\nvi-search-again\nvi-set-mark\nvi-subst\nvi-tilde-expand\nvi-undo\nvi-unix-word-rubout\nvi-yank-arg\nvi-yank-pop\nvi-yank-to\nyank\nyank-last-arg\nyank-nth-arg\nyank-pop\n' Got "<_Attributes {'actions': [], 'shopt_changes': [], 'attrs': {'x': (value__Undef), 'f': (value__Undef), 's': (value.Bool b:F), 'v': (value.Bool b:F), 'm': (value__Undef), 'l': (value.Bool b:T), 'p': (value.Bool b:F), 'q': (value__Undef), 'P': (value.Bool b:F), 'S': (value.Bool b:F), 'r': (value__Undef), 'u': (value__Undef), 'V': (value.Bool b:F), 'X': (value.Bool b:F)}, 'show_options': False, 'opt_changes': [], 'saw_double_dash': False}>\n<_devbuild.gen.arg_types.bind object at 0x7ff2e438dfd0>\n<args.Reader ['bind', '-l'] 2>\nabort\naccept-line\narrow-key-prefix\nbackward-byte\nbackward-char\nbackward-delete-char\nbackward-kill-line\nbackward-kill-word\nbackward-word\nbeginning-of-history\nbeginning-of-line\nbracketed-paste-begin\ncall-last-kbd-macro\ncapitalize-word\ncharacter-search\ncharacter-search-backward\nclear-screen\ncomplete\ncopy-backward-word\ncopy-forward-word\ncopy-region-as-kill\ndelete-char\ndelete-char-or-list\ndelete-horizontal-space\ndigit-argument\ndo-lowercase-version\ndowncase-word\ndump-functions\ndump-macros\ndump-variables\nemacs-editing-mode\nend-kbd-macro\nend-of-history\nend-of-line\nexchange-point-and-mark\nforward-backward-delete-char\nforward-byte\nforward-char\nforward-search-history\nforward-word\nhistory-search-backward\nhistory-search-forward\nhistory-substring-search-backward\nhistory-substring-search-forward\ninsert-comment\ninsert-completions\nkill-line\nkill-region\nkill-whole-line\nkill-word\nmenu-complete\nmenu-complete-backward\nnext-history\nnon-incremental-forward-search-history\nnon-incremental-forward-search-history-again\nnon-incremental-reverse-search-history\nnon-incremental-reverse-search-history-again\nold-menu-complete\noverwrite-mode\npossible-completions\nprevious-history\nprint-last-kbd-macro\nquoted-insert\nre-read-init-file\nredraw-current-line\nreverse-search-history\nrevert-line\nself-insert\nset-mark\nskip-csi-sequence\nstart-kbd-macro\ntab-insert\ntilde-expand\ntranspose-chars\ntranspose-words\ntty-status\nundo\nuniversal-argument\nunix-filename-rubout\nunix-line-discard\nunix-word-rubout\nupcase-word\nvi-append-eol\nvi-append-mode\nvi-arg-digit\nvi-bWord\nvi-back-to-indent\nvi-backward-bigword\nvi-backward-word\nvi-bword\nvi-change-case\nvi-change-char\nvi-change-to\nvi-char-search\nvi-column\nvi-complete\nvi-delete\nvi-delete-to\nvi-eWord\nvi-editing-mode\nvi-end-bigword\nvi-end-word\nvi-eof-maybe\nvi-eword\nvi-fWord\nvi-fetch-history\nvi-first-print\nvi-forward-bigword\nvi-forward-word\nvi-fword\nvi-goto-mark\nvi-insert-beg\nvi-insertion-mode\nvi-match\nvi-movement-mode\nvi-next-word\nvi-overstrike\nvi-overstrike-delete\nvi-prev-word\nvi-put\nvi-redo\nvi-replace\nvi-rubout\nvi-search\nvi-search-again\nvi-set-mark\nvi-subst\nvi-tilde-expand\nvi-unix-word-rubout\nvi-yank-arg\nvi-yank-pop\nvi-yank-to\nyank\nyank-last-arg\nyank-nth-arg\nyank-pop\n{'x': (value__Undef), 'f': (value__Undef), 's': (value.Bool b:F), 'v': (value.Bool b:F), 'm': (value__Undef), 'l': (value.Bool b:T), 'p': (value.Bool b:F), 'q': (value__Undef), 'P': (value.Bool b:F), 'S': (value.Bool b:F), 'r': (value__Undef), 'u': (value__Undef), 'V': (value.Bool b:F), 'X': (value.Bool b:F)}\n" stdout: <_Attributes {'actions': [], 'shopt_changes': [], 'attrs': {'x': (value__Undef), 'f': (value__Undef), 's': (value.Bool b:F), 'v': (value.Bool b:F), 'm': (value__Undef), 'l': (value.Bool b:T), 'p': (value.Bool b:F), 'q': (value__Undef), 'P': (value.Bool b:F), 'S': (value.Bool b:F), 'r': (value__Undef), 'u': (value__Undef), 'V': (value.Bool b:F), 'X': (value.Bool b:F)}, 'show_options': False, 'opt_changes': [], 'saw_double_dash': False}> <_devbuild.gen.arg_types.bind object at 0x7ff2e438dfd0> <args.Reader ['bind', '-l'] 2> abort accept-line arrow-key-prefix backward-byte backward-char backward-delete-char backward-kill-line backward-kill-word backward-word beginning-of-history beginning-of-line bracketed-paste-begin call-last-kbd-macro capitalize-word character-search character-search-backward clear-screen complete copy-backward-word copy-forward-word copy-region-as-kill delete-char delete-char-or-list delete-horizontal-space digit-argument do-lowercase-version downcase-word dump-functions dump-macros dump-variables emacs-editing-mode end-kbd-macro end-of-history end-of-line exchange-point-and-mark forward-backward-delete-char forward-byte forward-char forward-search-history forward-word history-search-backward history-search-forward history-substring-search-backward history-substring-search-forward insert-comment insert-completions kill-line kill-region kill-whole-line kill-word menu-complete menu-complete-backward next-history non-incremental-forward-search-history non-incremental-forward-search-history-again non-incremental-reverse-search-history non-incremental-reverse-search-history-again old-menu-complete overwrite-mode possible-completions previous-history print-last-kbd-macro quoted-insert re-read-init-file redraw-current-line reverse-search-history revert-line self-insert set-mark skip-csi-sequence start-kbd-macro tab-insert tilde-expand transpose-chars transpose-words tty-status undo universal-argument unix-filename-rubout unix-line-discard unix-word-rubout upcase-word vi-append-eol vi-append-mode vi-arg-digit vi-bWord vi-back-to-indent vi-backward-bigword vi-backward-word vi-bword vi-change-case vi-change-char vi-change-to vi-char-search vi-column vi-complete vi-delete vi-delete-to vi-eWord vi-editing-mode vi-end-bigword vi-end-word vi-eof-maybe vi-eword vi-fWord vi-fetch-history vi-first-print vi-forward-bigword vi-forward-word vi-fword vi-goto-mark vi-insert-beg vi-insertion-mode vi-match vi-movement-mode vi-next-word vi-overstrike vi-overstrike-delete vi-prev-word vi-put vi-redo vi-replace vi-rubout vi-search vi-search-again vi-set-mark vi-subst vi-tilde-expand vi-unix-word-rubout vi-yank-arg vi-yank-pop vi-yank-to yank yank-last-arg yank-nth-arg yank-pop {'x': (value__Undef), 'f': (value__Undef), 's': (value.Bool b:F), 'v': (value.Bool b:F), 'm': (value__Undef), 'l': (value.Bool b:T), 'p': (value.Bool b:F), 'q': (value__Undef), 'P': (value.Bool b:F), 'S': (value.Bool b:F), 'r': (value__Undef), 'u': (value__Undef), 'V': (value.Bool b:F), 'X': (value.Bool b:F)}stderr: bind -l | sort ^~~~ [ stdin ]:1: warning: bind isn't implemented |