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