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