Package: bash-completion / 1:2.16.0-8
Metadata
| Package | Version | Patches format |
|---|---|---|
| bash-completion | 1:2.16.0-8 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 04 xine_add_more_formats.patch | (download) |
bash_completion |
6 3 + 3 - 0 ! |
add oga and ogx formats Bug: https://github.com/scop/bash-completion/pull/1314 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+bug/311525 Bug-Debian: https://bugs.debian.org/496162 |
| 06 xpdf_support_compressed_pdf.patch | (download) |
bash_completion |
1 1 + 0 - 0 ! |
xpdf in debian also supports compressed pdfs |
| 18 aptitude showsrc source | (download) |
completions/aptitude |
2 1 + 1 - 0 ! |
completions/aptitude: add showsrc source |
| 19 backport fix for parallel test.patch | (download) |
test/t/unit/test_unit_count_args.py |
24 12 + 12 - 0 ! |
add missing dependency on fixtures to help parallel testing
Bug: https://github.com/scop/bash-completion/pull/1303
When running the test suite with xdist and 'pytest -n <jobs>', several
tests fail. This happens because, in these tests, the definition of the
tested command, usually in a fixture method called 'functions' might
happen only after the execution of the tests themselves, i.e. in the
methods whose names start with 'test_'.
This patch adds the missing dependency on these test-command-defining
fixtures, so that they are executed before the tests themselves.
Steps to reproduce:
1. Make sure pytest-xdist is installed. On Debian systems this can be
verified with the following command:
dpkg --list python3-pytest-xdist
2. Build and install bash-completion locally, for example with the
following commands:
autoreconf -f -i
./configure --prefix=$PWD/install/
make install
3. Run the test suite with a few parallel jobs, such as with:
export MYPATH=$PWD/install/share/bash-completion/bash_completion
BASH_COMPLETION_TEST_BASH_COMPLETION=$MYPATH \
pytest \
-n 8 \
test/t/unit/test_unit_count_args.py \
test/t/unit/test_unit_dequote.py \
test/t/unit/test_unit_get_first_arg.py \
test/t/unit/test_unit_quote.py
unset MYPATH
Before this patch, these tests fail with messages similar to:
FAILED test/t/unit/test_unit_quote.py::TestUnitQuote::test_3 -
AssertionError: Error running "__tester " a "": exit status=127, output="
After this patch, all these tests, which previously failed, pass.
|
| 20 disable autopkgtest bts.patch | (download) |
test/t/test_bts.py |
2 2 + 0 - 0 ! |
ignore test suit failure for out-of-sync completion |
| 21 workaround parallell test bug.patch | (download) |
test/t/unit/test_unit_command_offset.py |
1 1 + 0 - 0 ! |
workaround for function definition in command offset test Bug: https://github.com/scop/bash-completion/pull/1312 If the first item in test2 is not executed, for example with the |
| 22 deprecate libsecret completion.patch | (download) |
completions/Makefile.am |
2 1 + 1 - 0 ! |
refactor(secret-tool): deprecate ours in favor of upstream Bug: https://github.com/scop/bash-completion/issues/1317 Bug-Debian: https://bugs.debian.org/1093258 |
| 23 workaround bug in bash 5.3.patch | (download) |
test/t/unit/test_unit_compgen_filedir.py |
16 15 + 1 - 0 ! |
test(filedir): workaround bug in bash 5.3 Bug: https://github.com/scop/bash-completion/pull/1446 |
