summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-08-24 17:44:31 +0200
committerJulian Andres Klode <jak@debian.org>2017-08-24 17:44:31 +0200
commit427828d9638c9e5f3550820bd9d71da5d5a0909c (patch)
tree9fe6ce4fa55ac5d33c01aa9661643c1c0bb0f6f5
parent0e4ac8334d02ea256f750ad61689f28ff1ebdf6c (diff)
Make test-bug-818628-unreadable-source work on !amd64
It was broken because apt.conf.d was not readable, but that's where the architecture is defined...
-rwxr-xr-xtest/integration/test-bug-818628-unreadable-source1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-bug-818628-unreadable-source b/test/integration/test-bug-818628-unreadable-source
index 59051fb5f..e7ad26d04 100755
--- a/test/integration/test-bug-818628-unreadable-source
+++ b/test/integration/test-bug-818628-unreadable-source
@@ -5,6 +5,7 @@ TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'
+cat rootdir/etc/apt/apt.conf.d/01multiarch.conf >> $(getaptconfig)
if [ "$(id -u)" = '0' ]; then
msgskip 'Tests for unreadable files do not work as root'