test-bug-762160-relpath 391 B

1234567891011121314151617
  1. #!/bin/sh
  2. # regresion 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