From 54a3790ccb8c3dac6f484c7b5a21aebdb21872e0 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 9 May 2019 19:30:13 +0200 Subject: [PATCH] test: allow SKIP_INITRD override Certain distributions (e.g. Arch Linux) require booting with initrd, as they lack support for commonly used filesystems in the kernel (i.e. the support is compiled in as modules) --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index b269cd35241..bfd6b6662a6 100644 --- a/test/test-functions +++ b/test/test-functions @@ -50,7 +50,7 @@ IS_BUILT_WITH_ASAN=$(is_built_with_asan && echo yes || echo no) if [[ "$IS_BUILT_WITH_ASAN" = "yes" ]]; then STRIP_BINARIES=no - SKIP_INITRD=yes + SKIP_INITRD="${SKIP_INITRD:-yes}" PATH_TO_INIT=$ROOTLIBDIR/systemd-under-asan QEMU_MEM="1536M" QEMU_SMP=4 -- 2.47.3