diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 02:27:38 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 02:27:38 -0400 |
| commit | 4b015a22b450f28460ba6a8d58de485c7ad8c0cf (patch) | |
| tree | 98043cc6c4874166fede0e335c0cccf6f9a8f081 /scripts/testing/cleanup-tests.sh | |
| parent | 3bbfc94cdcc0b63fcad08df6fb954a37e612c0ec (diff) | |
| download | archsetup-4b015a22b450f28460ba6a8d58de485c7ad8c0cf.tar.gz archsetup-4b015a22b450f28460ba6a8d58de485c7ad8c0cf.zip | |
test(archsetup): fix fixture scope and initramfs path in the sweep
VM run #2 exposed two test bugs (archsetup itself passed clean, 53/0/0):
- ScopeMismatch errors on 26 tests: the host-dependent fixtures were
session-scoped, but Testinfra's host fixture is module-scoped, and a
session fixture cannot request a module one. Drop those fixtures to
module scope.
- test_console_font_in_initramfs hardcoded /boot/initramfs-linux.img; this
fleet runs linux-lts, so the image is initramfs-linux-lts.img. Pick the
main (non-fallback) initramfs by glob instead.
Diffstat (limited to 'scripts/testing/cleanup-tests.sh')
0 files changed, 0 insertions, 0 deletions
