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