summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-728500-tempdir
blob: 0606538a1d011512bdbb2c26c7b16889a5398a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
setupenvironment
configarchitecture 'i386'

buildsimplenativepackage 'coolstuff' 'all' '1.0' 'unstable'

setupaptarchive
changetowebserver

msgtest 'Test with incorect TMPDIR'
export TMPDIR=/does-not-exists
aptget update && msgpass || msgfail
unset TMPDIR