]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-762160-relpath
ensure partial dirs are 0700 and owned by _apt:root
[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
8b451962
MV
7TESTDIR=$(readlink -f $(dirname $0))
8. $TESTDIR/framework
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