]>
Commit | Line | Data |
---|---|---|
8b451962 | 1 | #!/bin/sh |
9da539c5 MV |
2 | # regresion test for bug #762160 where apt-get update fails when a |
3 | # relative directory is given | |
4 | # | |
8b451962 MV |
5 | set -e |
6 | ||
3abb6a6a DK |
7 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
8 | . "$TESTDIR/framework" | |
8b451962 MV |
9 | setupenvironment |
10 | configarchitecture 'amd64' | |
11 | ||
12 | insertpackage 'unstable' 'foo' 'all' '1' | |
13 | setupaptarchive | |
9da539c5 | 14 | changetowebserver |
8b451962 | 15 | |
9da539c5 MV |
16 | testsuccess aptget update -o Dir=./rootdir |
17 | testsuccess aptget update -o Dir=./rootdir |