summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-12-31 18:24:12 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-12-31 18:24:12 +0100
commitae73a2944a89e0d2406a2aab4a4c082e1e9da3f9 (patch)
tree5aad3ec8d399efb68b6a83133e7747e20c540616 /test
parent4e18c2cee6da39982cc463cafbf27eab5561099f (diff)
allow warning generation for non-whitelisted options
The idea is simple: Each¹ Find*( call starts with a call check if the given option (with the requested type) exists in the whitelist. The whitelist is specified via our configure-index file so that we have a better chance at keeping it current. the whitelist is loaded via a special (undocumented for now) configuration stanza and if none is loaded the empty whitelist will make it so that no warnings are shown. Much needs to be done still, but that is as good a time as any to take a snapshot of the current state and release it into the wild given that it found some bugs already and has no practical effect on users. ¹ not all in this iteration, but many
Diffstat (limited to 'test')
-rw-r--r--test/integration/framework1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index a0e9e759c..256c90261 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -340,6 +340,7 @@ setupenvironment() {
# -----
cd "$TMPWORKINGDIRECTORY"
+ echo "#x-apt-configure-index \"${SOURCEDIRECTORY}/doc/examples/configure-index\";" > aptconfig.conf
mkdir rootdir aptarchive keys
cd rootdir
mkdir -p etc/apt/apt.conf.d etc/apt/sources.list.d etc/apt/trusted.gpg.d etc/apt/preferences.d