Note that epel-rpm-macros was added as a requirement to bring rpmautospec-rpm-macros on EPEL 9. rpmautospec-rpm-macros no longer exists on EPEL 10, the macros were added to redhat-rpm-config. The rpmautospec macros are needed for the mock_bootstrap_build test. Technically, always pulling epel-rpm-macros is the right thing to do, as it allows us to build SRPM correctly. The EPEL macros are installed by default inside the mock chroot, but not on the CI system. Alternatively, we could build the SRPM using mock, but that's an overkill. [skip changelog]
35 lines
992 B
Text
35 lines
992 B
Text
summary: PIP bash completion functionality smoke test
|
|
description: |
|
|
Comprehensive test for pip bash completion functionality on Fedora/RHEL systems.
|
|
|
|
The test performs the following steps:
|
|
1. Finds the bash completion script in the given (e.g. python3-pip) RPM package
|
|
2. Discovers all pip executables in the package (e.g. /usr/bin/pip and /usr/bin/pip3.14)
|
|
3. Sources the completion script and verifies completion for all executables is registered
|
|
4. Runs functional TAB completion tests using expect (for regular and POSIX mode of Bash)
|
|
5. Validates that completion works for basic pip commands
|
|
|
|
This is a smoke test to ensure pip bash completion is properly
|
|
installed and functional after package installation.
|
|
|
|
component:
|
|
- python3.13-pip
|
|
|
|
test: ./pip_completion_full_test.sh
|
|
|
|
framework: shell
|
|
|
|
duration: 5m
|
|
tier: 1
|
|
|
|
|
|
require:
|
|
- python3.13-pip
|
|
- bash-completion
|
|
- expect
|
|
- rpm
|
|
- bash
|
|
|
|
|
|
environment:
|
|
PACKAGE: python3.13-pip
|