diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-02-14 00:30:58 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-02-14 12:06:28 +0100 |
commit | 9082a1fc7be02f58cbe18a34539c6a3436463dd0 (patch) | |
tree | e8cd4ceb678ef43e7be031c835f6ee7866052e8b /test/integration/framework | |
parent | f9b4f12d65b827612b29071f05d605bc05fa62bd (diff) |
allow http protocol to switch to https
switch protocols at random is a bad idea if e.g. http can switch to
file, so we limit the possibilities to http to http and http to https.
As very few people (less than 1% according to popcon) have https
installed this likely changes nothing in terms of failure. The commit is
adding a friendly hint which package needs to be installed though.
Diffstat (limited to 'test/integration/framework')
-rw-r--r-- | test/integration/framework | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework index 5b9a58568..f3699861b 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -190,7 +190,7 @@ setupenvironment() { mkdir -p var/lib/dpkg/info var/lib/dpkg/updates var/lib/dpkg/triggers touch var/lib/dpkg/available mkdir -p usr/lib/apt - ln -s ${BUILDDIRECTORY}/methods usr/lib/apt/methods + ln -s ${METHODSDIR} usr/lib/apt/methods cd .. local PACKAGESFILE=$(echo "$(basename $0)" | sed -e 's/^test-/Packages-/' -e 's/^skip-/Packages-/') if [ -f "${TESTDIRECTORY}/${PACKAGESFILE}" ]; then |