From: Luca Boccassi Date: Thu, 18 May 2023 12:08:56 +0000 (+0100) Subject: integration test: pass 'noresume' to qemu X-Git-Tag: v254-rc1~448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb26ccd36fd103f118446c47381240fdc11c538;p=thirdparty%2Fsystemd.git integration test: pass 'noresume' to qemu When running on Debian/Ubuntu, I get a minute delay or so on every boot because the local initramfs tries to resume from hibernation. This is not really useful here, so always skip it --- diff --git a/test/test-functions b/test/test-functions index 1bf9f2d54f8..b875e6413e5 100644 --- a/test/test-functions +++ b/test/test-functions @@ -475,6 +475,8 @@ run_qemu() { kernel_params+=("rd.hostonly=0") fi + # Debian/Ubuntu's initramfs tries to check if it can resume from hibernation + # and wastes a minute or so probing disks, skip that as it's not useful here kernel_params+=( "root=LABEL=systemd_boot" "rw" @@ -486,6 +488,7 @@ run_qemu() { "SYSTEMD_UNIT_PATH=/usr/lib/systemd/tests/testdata/testsuite-$1.units:/usr/lib/systemd/tests/testdata/units:" "systemd.unit=testsuite.target" "systemd.wants=testsuite-$1.service" + "noresume" ) if ! get_bool "$INTERACTIVE_DEBUG"; then