]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-762160-relpath
Use _apt as our unprivileged user name
[apt.git] / test / integration / test-bug-762160-relpath
... / ...
CommitLineData
1#!/bin/sh
2# regresion test for bug #762160 where apt-get update fails when a
3# relative directory is given
4#
5set -e
6
7TESTDIR=$(readlink -f $(dirname $0))
8. $TESTDIR/framework
9setupenvironment
10configarchitecture 'amd64'
11
12insertpackage 'unstable' 'foo' 'all' '1'
13setupaptarchive
14changetowebserver
15
16testsuccess aptget update -o Dir=./rootdir
17testsuccess aptget update -o Dir=./rootdir