mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2026-05-30 20:25:59 +00:00
Improve Fedora Media Writer tests by validating written USB media against the original ISO and by making the workflow work reliably across classic and Silverblue variants. The previous post-write verification relied on mounting the USB partitions and checking for a handful of expected directory structures. This is replaced with a stronger end-to-end check that verifies the embedded checksum on the target device and then compares the raw device contents byte-for-byte with the downloaded ISO, treating the expected cmp “EOF” condition as success. To support Silverblue, where the required isomd5sum package is not installed by default, a generic toolbox helper is introduced in utils.pm to create a toolbox, install required packages inside it, and run the necessary command there. The media writer test template is updated to explicitly model the USB target as /dev/sda by enforcing a single-disk setup and adjusting that QEMU uses a snapshot to create the device and thus not create a file lock on it to prevent other tests from running. |
||
|---|---|---|
| .. | ||
| anaconda | ||
| background | ||
| browser | ||
| cockpit | ||
| console | ||
| firefox | ||
| freeipa | ||
| gnome | ||
| i3 | ||
| iot | ||
| kde | ||
| .keep | ||