]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-ubuntu-bug-1549819-empty-arch-list
Don't download "optional" files not in Release :/.
[apt.git] / test / integration / test-ubuntu-bug-1549819-empty-arch-list
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture ""
8echo 'APT::Architecture "";' > rootdir/etc/apt/apt.conf
9echo 'APT::Architectures:: "";' >> rootdir/etc/apt/apt.conf
10setupaptarchive
11
12# test success
13testsuccess aptcache -c rootdir/etc/apt/apt.conf gencaches -o debug::NoLocking=1