Skip to content

Test suite runs out of tree completions instead of fallbacks #836

Closed
@scop

Description

@scop

Describe the bug

Current fedoradev CI runs fail, because we end up testing not our _adb, but the system installed /usr/share/bash-completion/completions/adb (-> /usr/share/android-tools/completions/adb), and it has env var leakages.

In our test suite, we should test only our fallbacks, not the possibly installed corresponding non-underscore prefixed completion files.

I suspect this is a regression from 1984040.

To reproduce

Run test suite on current fedoradev.

Expected behavior

Test our _adb instead of the system installed adb.

Versions (please complete the following information)

  • Operating system name/distribution and version: Fedora development
  • bash version, echo "$BASH_VERSION":
  • bash-completion version, (IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}"):

Additional context

Debug trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions