]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-728500-tempdir
support setting empty values (sanely) & removing support for
[apt.git] / test / integration / test-bug-728500-tempdir
CommitLineData
6bbd65ee
MV
1#!/bin/sh
2
3set -e
4
5TESTDIR=$(readlink -f $(dirname $0))
6. $TESTDIR/framework
7setupenvironment
8configarchitecture 'i386'
9
f74a6fa1 10insertpackage 'unstable' 'coolstuff' 'all' '1.0'
6bbd65ee
MV
11
12setupaptarchive
13changetowebserver
14
f74a6fa1
DK
15msgtest 'Test apt-get update with incorrect' 'TMPDIR'
16
63c71412
DK
17OUTPUT="$(mktemp)"
18addtrap "rm \"$OUTPUT\";"
6bbd65ee 19export TMPDIR=/does-not-exists
63c71412 20testsuccess aptget update -o Debug::Acquire::gpg=1
f74a6fa1
DK
21unset TMPDIR
22
25b86db1 23testsuccessequal 'coolstuff' aptcache pkgnames
7ffac4c1 24testsuccess ls rootdir/var/lib/apt/lists/*InRelease