blob: 1e66fbbc333b38338c71f7f1b2e76890ad7220a0 (
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
|