The test.test_sqlite3.test_cli.Completion tests hang on OpenBSD.
test_complete_no_input sends a double Tab to complete all candidates and sets readline.parse_and_bind("set completion-query-items 0") to suppress the "Display all N possibilities? (y or n)" prompt. GNU Readline treats 0 as "never ask", but OpenBSD's readline does not, so it prints Display all 316 possibilities? (y or n) and blocks on the pseudo-terminal opened by run_pty(). test_complete_table_indexes_triggers_views hangs the same way, and test_complete_sql_keywords, test_complete_columns, and test_complete_schemata fail on output differences.
The completion tests assume GNU Readline behavior, so skip the whole class on OpenBSD, like the existing libedit skip.
Linked PRs
The
test.test_sqlite3.test_cli.Completiontests hang on OpenBSD.test_complete_no_inputsends a double Tab to complete all candidates and setsreadline.parse_and_bind("set completion-query-items 0")to suppress the "Display all N possibilities? (y or n)" prompt. GNU Readline treats0as "never ask", but OpenBSD's readline does not, so it printsDisplay all 316 possibilities? (y or n)and blocks on the pseudo-terminal opened byrun_pty().test_complete_table_indexes_triggers_viewshangs the same way, andtest_complete_sql_keywords,test_complete_columns, andtest_complete_schematafail on output differences.The completion tests assume GNU Readline behavior, so skip the whole class on OpenBSD, like the existing libedit skip.
Linked PRs