summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * add directory listing to the webserverDavid Kalnischkies2013-06-201-0/+121
| | | | | | | | Git-Dch: Ignore
| * add a simple webserver for our testcasesDavid Kalnischkies2013-06-203-6/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APT needs to acquire data in a secure fashion over an inherently unsecure way, known as the internet, while communicating with unreliable partners, known as webservers and proxies. For your integration tests we so far relied on 'normal' webservers, but all of them have certain quirks and none is able to provide us with all quirks which can be observed in the wild and we therefore have to test with, so this webserver isn't trying to be fast, secure or feature complete, but to provide all the quirks we need in a consistent way. This webserver also makes the APT project self-contained, as it is now able to generate, serve as well as acquire package indexes. ;) Git-Dch: Ignore
| * handle missing "Description" in apt-cache showDavid Kalnischkies2013-06-201-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | do not blindly assume that all packages stanzas have a "Description:" field in 'apt-cache show' as well as in the cache creation itself. We instead assume now that if the stanza has a Description, it will not be the first field as we look out for "\nDescription" to take care of MD5sum as well as (maybe ignored) translated Descriptions embedded in the package stanza. Closes: #712435
| * tests: add an interactive 'test' with multiple cdromsDavid Kalnischkies2013-06-091-0/+47
| | | | | | | | | | | | | | Can't be used as a test as is, but shows how to build multiple CD-ROMs for tests and can be used to reproduce debbug #711456. Git-Dch: Ignore
| * ensure state-dir exists before coyping cdrom filesDavid Kalnischkies2013-06-092-4/+6
| | | | | | | | | | | | We do the same in the acquire system which handles the 'normal' downloads, so do it here as well even though its unlikely anyone will ever notice (beside testcases of course …)
| * stop building l10n if strings are unchangedDavid Kalnischkies2013-06-092-0/+2
| | | | | | | | | | | | The buildsystem tried to build l10n for test applications which never produced the output it expected causing it to try building it all the time.
| * tests: add expected port for cve-2013-105 testcaseDavid Kalnischkies2013-06-091-1/+1
| | | | | | | | Git-Dch: Ignore
| * tests: trap-adding can be post- as well as prefixDavid Kalnischkies2013-06-092-4/+7
| | | | | | | | | | | | | | | | | | For testcases it might sometimes be handy to add trap-actions before the general cleanup, e.g. if it has set directories read- only which rm doesn't want to remove even with --force applied (its fine with files though) Git-Dch: Ignore
| * fix support for multiple patterns in apt-cache searchDavid Kalnischkies2013-06-092-3/+42
| | | | | | | | | | | | | | Patterns can appear in the name as well as in the description, they don't have to match all in the name/description only. Closes: 691453
| * do unpacks before configures in SmartConfigureDavid Kalnischkies2013-06-091-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Splits the big loop over dependencies in SmartConfigure which unpacks and configures dependencies into two loops and reverse their order, so that all dependencies which need to be unpacked are handled first and only after that configures are issued for dependencies. This is needed as otherwise the unpack of a (new) dependency will be issued in between a configure call for two (or more) packages which form a loop, which means the configure calls aren't part of the same dpkg call and therefore dpkg bails out. Such tight loops should really be avoided as they are usually wrong – and in reality the dependencies in libreoffice were greatly simplified thanks to Rene Engelhard so the problem is gone for the benefit of all. Closes: 707578
| * try all providers in order if uninstallable in MarkInstallDavid Kalnischkies2013-06-091-0/+70
| |
| * fix priority sorting by prefering higher in MarkInstallDavid Kalnischkies2013-06-091-0/+36
| | | | | | | | | | | | | | Used to work until a certain (here unnamed) person came along and used the wrong operator causing low-priority packages to be sorted above high-priority packages while choosing a provider in commit 2b5c35c7bb915dbd46fefd7c79f05364ba22f93b from Nov 2011
| * fix uri testMichael Vogt2013-05-081-1/+1
| |
| * merged patch from Daniel Hartwig to fix URI and proxy releated issuesMichael Vogt2013-05-083-9/+17
| |
* | merged debian-sid branch and resolved conflictsMichael Vogt2013-04-2313-32/+291
|\|
| * merged lp:~mvo/apt/add-missing-dsc-hashesMichael Vogt2013-04-081-0/+35
| |\
| * \ merged lp:~mvo/apt/fix-inrelease5Michael Vogt2013-04-024-5/+82
| |\ \
| | * | * apt-pkg/deb/debindexfile.cc,David Kalnischkies2013-03-182-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apt-pkg/deb/deblistparser.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc and Release files We can't write a "clean" file to disk as not all acquire methods copy Release files before checking them (e.g. cdrom), so this reverts recombining, but uses the method we use for dsc files also in the two places we deal with Release files
| | * | - add method to open (maybe) clearsigned files transparentlyDavid Kalnischkies2013-03-181-2/+8
| | | | | | | | | | | | | | | | | | | | * ftparchive/writer.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc files
| | * | rename testcase to mention CVE number, make the code more consistent withDavid Kalnischkies2013-03-182-80/+61
| | | | | | | | | | | | | | | | the rest and add some more tests (by fixing commented ones)
| | * | add testcase and update changelogMichael Vogt2013-03-161-0/+80
| | | |
| | * | - if ExecGPGV deals with a clear-signed file it will split this fileDavid Kalnischkies2013-03-151-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into data and signatures, pass it to gpgv for verification and recombines it after that in a known-good way without unsigned blocks and whitespaces resulting usually in more or less the same file as before, but later code can be sure about the format * apt-pkg/deb/debmetaindex.cc: - reenable InRelease by default
| * | | merge patches from daniel to fix merge artifact and test failureMichael Vogt2013-03-251-1/+1
| | | |
| * | | merged lp:~mvo/apt/fix-tagfile-hashMichael Vogt2013-03-222-1/+66
| |\ \ \
| | * | | test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)Michael Vogt2013-03-181-0/+1
| | | | |
| | * | | fix pkgTagSection::Exists() and add testMichael Vogt2013-03-182-1/+65
| | |/ /
| * | | merged the debian-wheezy branchMichael Vogt2013-03-222-21/+13
| |\| |
| | * | * SECURITY UPDATE: InRelease verification bypassMichael Vogt2013-03-142-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CVE-2013-1051 * apt-pkg/deb/debmetaindex.cc, test/integration/test-bug-595691-empty-and-broken-archive-files, test/integration/test-releasefile-verification: - disable InRelease downloading until the verification issue is fixed, thanks to Ansgar Burchardt for finding the flaw
| * | | test/integration/framework: use EXIT_CODE to be consistent with the ↵Michael Vogt2013-03-181-5/+5
| | | | | | | | | | | | | | | | run-tests code
| * | | report failures via exit and ensure we don't overflowMichael Vogt2013-03-182-4/+10
| | | |
| * | | * test/integration/framework:Michael Vogt2013-03-181-2/+8
| | | | | | | | | | | | - continue after test failure but preserve exit status
| * | | * test/libapt/assert.h, test/libapt/run-tests:Michael Vogt2013-03-172-1/+10
| | | | | | | | | | | | - exit with status 1 on test failure
| * | | * apt-pkg/depcache.cc:David Kalnischkies2013-02-241-0/+104
| |/ / | | | | | | | | | - prefer to install packages which have an already installed M-A:same sibling while choosing providers (LP: #1130419)
* | | merged lp:~mvo/apt/source-hashesMichael Vogt2013-03-011-0/+77
|\ \ \
| * | | test/integration/test-debsrc-hashes: add integration test, thanks to Daniel ↵Michael Vogt2013-01-311-0/+77
| |/ / | | | | | | | | | Hartwig
* | | merged lp:~mvo/apt/add-missing-dsc-hashesMichael Vogt2013-03-011-0/+35
|\ \ \ | | |/ | |/|
| * | add a integration test for bug 1078697Michael Vogt2013-02-011-0/+35
| |/
* | merged from debian-sidMichael Vogt2013-01-042-3/+3
|\|
| * * cmdline/apt-get.cc:David Kalnischkies2012-11-092-3/+3
| | | | | | | | - do not call Mark{Install,Delete} from the autoremove code with the FromUser bit set to avoid modifying the auto-installed bit
* | * lp:~mvo/apt/config-clear:Michael Vogt2012-10-171-0/+4
|\ \ | | | | | | | | | - support Configuration.Clear() for a clear of the entire configuration
| * | rename CleaAll() -> Clear()Michael Vogt2012-10-011-1/+1
| | |
| * | add new ClearAllMichael Vogt2012-09-281-0/+4
| | |
* | | * lp:~mvo/apt/add-glob-function:Michael Vogt2012-10-172-0/+47
|\ \ \ | | | | | | | | - add Glob() to fileutl.{cc,h}
| * | | add "Glob()" to fileutlMichael Vogt2012-09-042-0/+48
| |/ /
* | | merged from debian-sidMichael Vogt2012-10-1715-9/+1008
|\ \ \ | | |/ | |/|
| * | * apt-pkg/pkgcache.cc:David Kalnischkies2012-09-191-0/+50
| | | | | | | | | | | | - ignore negative dependencies applying in the same group for M-A:same packages on the real package name as self-conflicts
| * | * apt-pkg/pkgcachegen.cc:David Kalnischkies2012-09-191-0/+22
| | | | | | | | | - ensure that dependencies for packages:none are always generated
| * | handle packages without a mandatory architecture (debian-policy §5.3)David Kalnischkies2012-09-092-6/+93
| | | | | | | | | | | | | | | by introducing a pseudo-architecture 'none' so that the small group of users with these packages can get right of them without introducing too much hassle for other users (Closes: #686346)
| * | * apt-pkg/cdrom.cc:David Kalnischkies2012-09-032-0/+120
| | | | | | | | | | | | | | | | | | | | | - copy only configured translation files from a CD-ROM and not all available translation files preventing new installs with d-i from being initialized with all translations (Closes: #678227) - handle Components in the reduction for the source.list as multi-arch CDs otherwise create duplicated source entries (e.g. "wheezy main main")
| * | * apt-pkg/cdrom.cc:David Kalnischkies2012-09-022-0/+92
| | | | | | | | | | | | - handle Components in the reduction for the source.list as multi-arch cds otherwise create duplicated source entries (e.g. "wheezy main main")