summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-762160-relpath
blob: 2045877276e644f49619f9b14cf6f06542b35b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# regresion 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