diff options
| author | Julian Andres Klode <jak@debian.org> | 2021-03-08 09:21:06 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2021-03-08 09:21:06 +0000 |
| commit | fbc06b381d14cfa9e2efb4b437b2ce1419e4f1a4 (patch) | |
| tree | 24a6bc2a81d4b3d7ab716a1f5fd7acb619f0e528 /test/integration/test-method-mirror | |
| parent | 3a7aecd232dfdbcec5dbdc3af16e03479d47d917 (diff) | |
| parent | 2a81f98b124d8fe551b160df55db1d3bf79a77c1 (diff) | |
Merge branch 'fix/rredemptypatches' into 'master'
Deal with rred shortcomings around empty patch files
See merge request apt-team/apt!159
Diffstat (limited to 'test/integration/test-method-mirror')
| -rwxr-xr-x | test/integration/test-method-mirror | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/test-method-mirror b/test/integration/test-method-mirror index 56c9a10a0..81a5585fd 100755 --- a/test/integration/test-method-mirror +++ b/test/integration/test-method-mirror @@ -192,6 +192,16 @@ http://localhost:${APTHTTPPORT}/redirectme type:deb testfailure apt update testrundownload 'foo=2' +msgmsg 'Mirrors can be filtered by' 'by-hash type' +echo "http://localhost:${APTHTTPPORT}/failure type:foobar priority:1 +http://localhost:${APTHTTPPORT}/redirectme type:index type:deb +" > aptarchive/mirror.txt +rm -rf rootdir/var/lib/apt/lists +testsuccess apt update -o Acquire::By-Hash=force #-o Debug::pkgAcquire::Worker=1 +cp rootdir/tmp/testsuccess.output forcedbyhash.output +testfailure grep "localhost:${APTHTTPPORT}/failure" forcedbyhash.output +testrundownload 'foo=2' + msgmsg 'The prefix for the mirrorlist is' 'passed on' echo 'Dir::Bin::Methods::foo+mirror+file "mirror"; Dir::Bin::Methods::foo+mirror+http "mirror"; |
