1
0
Fork 0
apt/test/integration/test-bug-762160-relpath
Daniel Baumann 1af95933dd
Adding upstream version 3.0.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-30 17:53:03 +02:00

17 lines
391 B
Bash
Executable file

#!/bin/sh
# regression 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