summaryrefslogtreecommitdiffstats
path: root/test/integration/test-ubuntu-bug-1549819-empty-arch-list
blob: 5e1c6ce7ed2701ecdda06f44f4849ce0ce102ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture ""
echo 'APT::Architecture "";' > rootdir/etc/apt/apt.conf
echo 'APT::Architectures:: "";' >> rootdir/etc/apt/apt.conf
setupaptarchive

# test success
testsuccess aptcache -c rootdir/etc/apt/apt.conf gencaches -o debug::NoLocking=1