You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-bug-762160-relpath 391 B

1234567891011121314151617
  1. #!/bin/sh
  2. # regression test for bug #762160 where apt-get update fails when a
  3. # relative directory is given
  4. #
  5. set -e
  6. TESTDIR="$(readlink -f "$(dirname "$0")")"
  7. . "$TESTDIR/framework"
  8. setupenvironment
  9. configarchitecture 'amd64'
  10. insertpackage 'unstable' 'foo' 'all' '1'
  11. setupaptarchive
  12. changetowebserver
  13. testsuccess aptget update -o Dir=./rootdir
  14. testsuccess aptget update -o Dir=./rootdir