File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 If provided, only tests matching this filter will be run, otherwise all tests will be run.
1616 required : false
1717 default : ' '
18+ use_built_from_src :
19+ description : ' Built bootupd from source instead of install distro package'
20+ required : false
21+ default : ' true'
1822
1923jobs :
2024 tmt-tests :
Original file line number Diff line number Diff line change 1+ --- !Policy
2+ product_versions :
3+ - rhel-10
4+ decision_context : osci_compose_gate
5+ rules :
6+ - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
7+ - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.gating}
Original file line number Diff line number Diff line change 1- summary: check bootupd package installation
1+ summary: check bootupd package installation and basic functionality
22tag:
33 - smoke
44test: |
55 set -x -e -o pipefail
6- rpm -q bootupd
6+
7+ # Check if bootupctl is available
8+ if ! command -v bootupctl &> /dev/null; then
9+ echo "bootupctl command not found"
10+ exit 1
11+ fi
12+
13+ # Get architecture
14+ arch="$(uname --machine)"
15+
16+ # Run bootupctl status and check output
17+ output=$(bootupctl status | tr -d '\r')
18+
19+ if [[ "${arch}" == "x86_64" ]]; then
20+ expected_components='Available components: BIOS EFI'
21+ else
22+ # Assume aarch64 for now
23+ expected_components='Available components: EFI'
24+ fi
25+
26+ if [ "${expected_components}" != "${output}" ]; then
27+ echo "Expected: ${expected_components}"
28+ echo "Got: ${output}"
29+ exit 1
30+ fi
31+
32+ echo "bootupd package and bootupctl status test passed"
You can’t perform that action at this time.
0 commit comments