summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2022-03-07 10:15:06 +0200
committerTimo Teräs <timo.teras@iki.fi>2022-03-07 10:15:06 +0200
commitfa913aba4bbca9c672c581171c6845140010e80d (patch)
tree5d44bc5cd003edf4fc928cbc367e190708f7edfb /src/apk.c
parent1be55db3d0eb565f4d7ab4b7674daef2976b2571 (diff)
downloadapk-tools-fa913aba4bbca9c672c581171c6845140010e80d.tar.gz
apk-tools-fa913aba4bbca9c672c581171c6845140010e80d.tar.bz2
apk-tools-fa913aba4bbca9c672c581171c6845140010e80d.tar.xz
apk-tools-fa913aba4bbca9c672c581171c6845140010e80d.zip
test: fix tests by setting sane active_layers without state
finally fixes #10821
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c1
1 files changed, 1 insertions, 0 deletions
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);