File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 - smoke
44test: |
55 set -x -e -o pipefail
6-
7- # Check if bootupctl is available
6+
7+ # Check if bootupctl is available
88 if ! command -v bootupctl &> /dev/null; then
99 echo "bootupctl command not found"
1010 exit 1
1111 fi
12-
12+
1313 # Get architecture
1414 arch="$(uname --machine)"
15-
15+
1616 # Run bootupctl status and check output
1717 output=$(bootupctl status | tr -d '\r')
18-
18+
1919 if [[ "${arch}" == "x86_64" ]]; then
2020 expected_components='Available components: BIOS EFI'
2121 else
22- # Assume aarch64 for now
22+ # Assume aarch64 for now
2323 expected_components='Available components: EFI'
2424 fi
25-
25+
2626 if [ "${expected_components}" != "${output}" ]; then
2727 echo "Expected: ${expected_components}"
2828 echo "Got: ${output}"
2929 exit 1
3030 fi
31-
31+
3232 echo "bootupd package and bootupctl status test passed"
You can’t perform that action at this time.
0 commit comments