Commit db955ed
committed
tests: Skip BLI detection test when not in image-mode
The 052-test-bli-detection test asserts that Fedora 43+ systems boot
without a root= kernel argument (using DPS auto-discovery instead).
However, this only works when the install was performed via
bootc install to-disk, which creates partitions with DPS type GUIDs.
In Packit/gating CI, the system is installed via
bootc install to-existing-root on a Testing Farm VM whose partitions
were not created with DPS type GUIDs. The test was unconditionally
failing in this environment.
Fix this by checking for the BCVK_EXPORT environment variable, which
is set by xtask when running tests via bcvk (image-mode). When not
in image-mode, the test skips since DPS root discovery cannot work
on partitions that lack the proper type GUIDs.
Fixes: #2123
Assisted-by: OpenCode (Claude Opus 4.6)
Signed-off-by: Joseph Marrero Corchado <jmarrero@redhat.com>1 parent 8dc77c9 commit db955ed
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
34 | 44 | | |
| |||
0 commit comments