diff options
author | Timo Teräs <timo.teras@iki.fi> | 2022-03-07 10:15:06 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2022-03-07 10:15:06 +0200 |
commit | fa913aba4bbca9c672c581171c6845140010e80d (patch) | |
tree | 5d44bc5cd003edf4fc928cbc367e190708f7edfb /src/apk.c | |
parent | 1be55db3d0eb565f4d7ab4b7674daef2976b2571 (diff) | |
download | apk-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |