TEST-09-REBOOT: Set auto firmware
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 28 Jun 2024 14:19:38 +0000 (16:19 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Jul 2024 18:00:04 +0000 (20:00 +0200)
This test runs in nspawn by default but will still run in qemu when
tests are run unprivileged so make sure we use UEFI if available to
avoid hangs when using the linux firmware.

(cherry picked from commit 3cf38516bb765126fee80fed6d984ae963d075de)

test/TEST-09-REBOOT/meson.build

index b7556189f519c146b5d796a3b2f160588bf02818..3e46a73e5d52b400f3de4fb06920990428faa449 100644 (file)
@@ -4,5 +4,8 @@ integration_tests += [
         integration_test_template + {
                 'name' : fs.name(meson.current_source_dir()),
                 'storage' : 'persistent',
+                # FIXME: Figure out why reboot sometimes hangs with 'linux' firmware.
+                # Use 'auto' to automatically fallback on non-uefi architectures.
+                'firmware' : 'auto',
         },
 ]