Skip to content

test_sqlite3 CLI completion tests hang on OpenBSD #154303

Description

@serhiy-storchaka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15pre-release feature fixes, bugs and security fixestestsTests in the Lib/test dir

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions