From fa913aba4bbca9c672c581171c6845140010e80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 7 Mar 2022 10:15:06 +0200 Subject: [PATCH] test: fix tests by setting sane active_layers without state finally fixes #10821 --- src/apk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apk.c b/src/apk.c index 34f5c72..2c5fddf 100644 --- a/src/apk.c +++ b/src/apk.c @@ -471,6 +471,7 @@ int main(int argc, char **argv) ctx.open_flags |= APK_OPENF_READ | APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS; ctx.flags |= APK_SIMULATE; ctx.flags &= ~APK_INTERACTIVE; + db.active_layers = BIT(0); #endif r = apk_ctx_prepare(&ctx);