]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-762160-relpath
Report non-transient errors as errors, not as warnings
[apt.git] / test / integration / test-bug-762160-relpath
CommitLineData
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
5set -e
6
3abb6a6a
DK
7TESTDIR="$(readlink -f "$(dirname "$0")")"
8. "$TESTDIR/framework"
8b451962
MV
9setupenvironment
10configarchitecture 'amd64'
11
12insertpackage 'unstable' 'foo' 'all' '1'
13setupaptarchive
9da539c5 14changetowebserver
8b451962 15
9da539c5
MV
16testsuccess aptget update -o Dir=./rootdir
17testsuccess aptget update -o Dir=./rootdir