]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-728500-tempdir
test: Always install dpkg into our tests, regardless of MA
[apt.git] / test / integration / test-bug-728500-tempdir
1 #!/bin/sh
2
3 set -e
4
5 TESTDIR="$(readlink -f "$(dirname "$0")")"
6 . "$TESTDIR/framework"
7 setupenvironment
8 configarchitecture 'i386'
9
10 insertpackage 'unstable' 'coolstuff' 'all' '1.0'
11
12 setupaptarchive
13 changetowebserver
14
15 msgtest 'Test apt-get update with incorrect' 'TMPDIR'
16
17 export TMPDIR=/does-not-exists
18 testsuccess aptget update -o Debug::Acquire::gpg=1
19 unset TMPDIR
20
21 testsuccessequal 'coolstuff
22 dpkg' aptcache pkgnames
23 testsuccess ls rootdir/var/lib/apt/lists/*InRelease