summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2013-12-27fix APTWEBSERVERBINDIR defaultMichael Vogt1-1/+1
2013-12-27Merge branch 'feature/tests-on-installed' into debian/sidMichael Vogt1-4/+13
2013-12-27Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt7-97/+26
2013-12-27Merge branch 'feature/policy-parser-bts732746' into debian/sidMichael Vogt1-0/+32
2013-12-24add integration testMichael Vogt1-0/+18
2013-12-23add basic tests for GetTempDir()Michael Vogt1-0/+13
2013-12-21make /etc/apt/preferences parser deal with comment only sectionsMichael Vogt1-0/+32
2013-12-19fix apt-key net-update test to use the buildin webserverMichael Vogt7-109/+24
2013-12-13make apt-key net-update actually testableMichael Vogt1-0/+14
2013-12-13run autopkgtest against the installed aptMichael Vogt1-4/+13
2013-12-12Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt3-2/+64
2013-12-12Fix conffile prompt regression (LP: #1260297)Michael Vogt1-0/+43
This fixes a regression in the conffile prompt for the progress-fd and adds a testcase to ensure this does not regress again.
2013-12-12fix test/integration/test-apt-key-net-updateMichael Vogt1-2/+6
2013-12-12clarify error message when apt-get source=ver fails, print a real error ↵Michael Vogt1-1/+1
message instead of "ignoring"
2013-12-11fix test/integration/test-apt-key-net-update (code copy/DRY violation)Michael Vogt1-0/+15
2013-12-11improve error messageMichael Vogt1-2/+2
2013-12-11improve error message for apt-get source pkg:arch{=ver,/release}Michael Vogt1-0/+10
2013-12-11add support for "apt-get source pkg:arch"Michael Vogt1-0/+60
2013-12-10user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt1-0/+5
pkg=version requests
2013-12-10fix typoMichael Vogt1-2/+2
2013-12-10improve test for #731853 and commentsMichael Vogt1-3/+5
2013-12-10if there is only deb-src pick higest version in deb-src release matchingMichael Vogt1-2/+7
2013-12-10Merge remote-tracking branch 'mvo/feature/deb-src-bts731102' into debian/sidMichael Vogt1-0/+60
2013-12-04add test for aptget source for unavailable packageMichael Vogt1-0/+5
2013-12-04further refactor, extract GetReleaseForSourceRecord() out of FindSrc(), ↵Michael Vogt1-8/+18
write out the selection notice to c1out to be consistent with the rest of the source
2013-12-04add test, deal with InReleaseMichael Vogt1-0/+45
2013-12-01cherry-pick ubuntus (disabled) net-update fixesDavid Kalnischkies3-0/+95
With the net-update command a special keyring can be downloaded and imported into apt, which must be signed by a master key. Its is currently disabled because of security problems with it – and the only known user before that was Ubuntu.
2013-11-30tests: add a webserverconfig method to abstract configDavid Kalnischkies4-6/+20
The URI to use to set a config option is a bit arcane to write/remember and checking if the setting was successful doubly so. Git-Dch: Ignore
2013-11-30tests: rm pkgcache.bin in 719263 testDavid Kalnischkies1-0/+1
As testcases are running really fast it can happen that files which are changed in reality are considered unchanged as the modify time isn't changed. What we could do is disable those caches by default, but some tests actually depend on those and deriving too much from the default by default (pun intended) is not a good idea for tests after all. Git-Dch: Ignore
2013-11-30webserver: use pthreads to handle multiple clientsDavid Kalnischkies2-163/+201
Clients like browsers prefer to open many connections and keep them open for a while, so that pages with lot of subelements would take a while to load (if at all), by using threads as all servers do some way or another we can resolve this. libapt is not intended to be pthread-safe and stuff like the storage of the last return code doesn't make too much sense if multiple clients interact with us, but it is good enough for now and an other interesting (mis)use of libapt in general. Git-Dch: Ignore
2013-11-30webserver: strip parameters from filenameDavid Kalnischkies1-1/+9
Again, not (currently) used by the tests itself, but in interactive usage of the webserver itself. Git-Dch: Ignore
2013-11-30webserver: add directoryIndex support defaulting to index.htmlDavid Kalnischkies1-3/+15
Git-Dch: Ignore
2013-11-30webserver: implement ~user access to ~user/public_html/David Kalnischkies1-1/+25
pretty much useless for the testcases, but handy to test the webserver itself in 'real world' environments Git-Dch: Ignore
2013-11-30tests: enhance https support in the testcasesDavid Kalnischkies2-8/+14
Git-Dch: Ignore
2013-11-30webserver: spurious newline after data confuses curlDavid Kalnischkies1-9/+9
Webserver wrongly sends an additional newline after the data which causes curl to believe that the next request on this socket has no header data and so includes all headers in the data output. Git-Dch: Ignore
2013-11-29fix crash when SetCandidateRelease is usedMichael Vogt1-0/+36
2013-11-29Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt1-0/+18
Conflicts: apt-private/private-cmndline.cc
2013-11-29add "APT::String::Endswith" and automatic adding of ".list" in apt edit-sourceMichael Vogt1-0/+18
2013-11-28add missing test/integration/test-bug-720597-build-dep-purgeMichael Vogt1-0/+36
2013-10-22Merge remote-tracking branch 'upstream/debian/sid' into ↵Michael Vogt3-2/+7
feature/install-progress-refactor Conflicts: apt-pkg/deb/dpkgpm.cc apt-pkg/makefile
2013-10-22fix failing ./test/integration/test-disappearing-packages (thanks Donkult) - ↵Michael Vogt1-1/+1
ported from the mvo/feature/install-progress-refactor branch
2013-10-22test/integration/run-tests: output the failed test namesMichael Vogt1-0/+5
2013-10-22use Pkg.FullName() in disappearedPkgs and remove duplicated checkMichael Vogt1-1/+1
2013-10-21add APT::Status-deb822-FdMichael Vogt1-27/+37
2013-10-21restore binary compatiblity with the pkgPackageManager interfaceMichael Vogt1-0/+54
2013-10-21fix apt output ordering and update test to match the new human friendly ↵Michael Vogt1-2/+2
messages that include the architecture
2013-10-18re-add missing APT::String::StripMichael Vogt1-1/+0
2013-10-18reshuffle dpkgpm.cc code a bit moreMichael Vogt1-1/+1
2013-10-18add $* to gdb to make it more usefulMichael Vogt1-1/+1
2013-10-18cleanupMichael Vogt1-23/+23