summaryrefslogtreecommitdiffstats
path: root/test/integration/test-bug-762160-relpath
blob: 6a800aa059fe1d449692537047f0a09cb46972b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# regression test for bug #762160 where apt-get update fails when a
# relative directory is given
#
set -e

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

insertpackage 'unstable' 'foo' 'all' '1'
setupaptarchive
changetowebserver

testsuccess aptget update -o Dir=./rootdir
testsuccess aptget update -o Dir=./rootdir