Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-17 | get color/msglevel handling for tests in line | David Kalnischkies | |
Without a PTY attached do not use color, but use the same MSGLEVEL with or without a PTY. The level is better adjust via flags – especially as it is likely that without a PTY you want fullblown logs instead of the reduced display you get with -q otherwise. Git-Dch: Ignore | |||
2014-01-17 | ensure the right permissions as dpkg-deb ensists | David Kalnischkies | |
otherwise you get with pickier umasks errors like: dpkg-deb: error: control directory has bad permissions 700 (must be >=0755 and <=0775) so we just force a 755 for the control directory and dpkg is happy. Git-Dch: Ignore | |||
2014-01-17 | use our tmpdir instead of creating tmpfiles | David Kalnischkies | |
Maintaining (mainly the deletion of them) is a pain and they litter /tmp while the testcase is run for no good reason as we could just as well drop it into our tmpdir we have anyway and let them be deleted with the rest automatically Git-Dch: Ignore | |||
2014-01-17 | correct some quoting offenses | David Kalnischkies | |
also avoids redirecting messages from dpkg-deb to /dev/null as it might fail (as it is quiet picky) and we should know why if it does. Git-Dch: Ignore | |||
2014-01-17 | improve stdout/stderr usage correctness in test framework | David Kalnischkies | |
Also adds a friendly note about how many tests were run/passed so that the end of the testrun isn't all that negative by just showing fails. (It now tells us that we have 111 tests at the moment!) Git-Dch: Ignore | |||
2014-01-16 | use our own homedir for gpg in testcases | David Kalnischkies | |
Git-Dch: Ignore | |||
2014-01-16 | correct some style/performance/warnings from cppcheck | David Kalnischkies | |
The most "visible" change is from utime to utimensat/futimens as the first one isn't part of POSIX anymore. Reported-By: cppcheck Git-Dch: Ignore | |||
2014-01-16 | rework some code to fix some scan-build warnings | David Kalnischkies | |
No visible functional changes, just code moved around and additional checks to eliminate impossible branches Reported-By: scan-build Git-Dch: Ignore | |||
2014-01-16 | show the error message if the webserver start failed | David Kalnischkies | |
Can happen e.g. if port 8080 is already used by something else Git-Dch: Ignore | |||
2014-01-15 | test apt-get source release selection with suite and codename | David Kalnischkies | |
Git-Dch: Ignore | |||
2014-01-15 | tests: default to 'sid' codename for 'unstable' | David Kalnischkies | |
Git-Dch: Ignore | |||
2014-01-15 | use C.UTF-8 in testcases as locale | David Kalnischkies | |
Git-Dch: Ignore | |||
2013-12-27 | fix APTWEBSERVERBINDIR default | Michael Vogt | |
2013-12-27 | Merge branch 'feature/tests-on-installed' into debian/sid | Michael Vogt | |
2013-12-27 | Merge branch 'feature/test-apt-key-net-update' into debian/sid | Michael Vogt | |
2013-12-27 | Merge branch 'feature/policy-parser-bts732746' into debian/sid | Michael Vogt | |
2013-12-24 | add integration test | Michael Vogt | |
2013-12-23 | add basic tests for GetTempDir() | Michael Vogt | |
2013-12-21 | make /etc/apt/preferences parser deal with comment only sections | Michael Vogt | |
2013-12-19 | fix apt-key net-update test to use the buildin webserver | Michael Vogt | |
2013-12-13 | make apt-key net-update actually testable | Michael Vogt | |
2013-12-13 | run autopkgtest against the installed apt | Michael Vogt | |
2013-12-12 | Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sid | Michael Vogt | |
2013-12-12 | Fix conffile prompt regression (LP: #1260297) | Michael Vogt | |
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-12 | fix test/integration/test-apt-key-net-update | Michael Vogt | |
2013-12-12 | clarify error message when apt-get source=ver fails, print a real error ↵ | Michael Vogt | |
message instead of "ignoring" | |||
2013-12-11 | fix test/integration/test-apt-key-net-update (code copy/DRY violation) | Michael Vogt | |
2013-12-11 | improve error message | Michael Vogt | |
2013-12-11 | improve error message for apt-get source pkg:arch{=ver,/release} | Michael Vogt | |
2013-12-11 | add support for "apt-get source pkg:arch" | Michael Vogt | |
2013-12-10 | user-requested version tag gets precedence in apt-get source -t dist ↵ | Michael Vogt | |
pkg=version requests | |||
2013-12-10 | fix typo | Michael Vogt | |
2013-12-10 | improve test for #731853 and comments | Michael Vogt | |
2013-12-10 | if there is only deb-src pick higest version in deb-src release matching | Michael Vogt | |
2013-12-10 | Merge remote-tracking branch 'mvo/feature/deb-src-bts731102' into debian/sid | Michael Vogt | |
2013-12-04 | add test for aptget source for unavailable package | Michael Vogt | |
2013-12-04 | further refactor, extract GetReleaseForSourceRecord() out of FindSrc(), ↵ | Michael Vogt | |
write out the selection notice to c1out to be consistent with the rest of the source | |||
2013-12-04 | add test, deal with InRelease | Michael Vogt | |
2013-12-01 | cherry-pick ubuntus (disabled) net-update fixes | David Kalnischkies | |
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-30 | tests: add a webserverconfig method to abstract config | David Kalnischkies | |
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-30 | tests: rm pkgcache.bin in 719263 test | David Kalnischkies | |
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-30 | webserver: use pthreads to handle multiple clients | David Kalnischkies | |
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-30 | webserver: strip parameters from filename | David Kalnischkies | |
Again, not (currently) used by the tests itself, but in interactive usage of the webserver itself. Git-Dch: Ignore | |||
2013-11-30 | webserver: add directoryIndex support defaulting to index.html | David Kalnischkies | |
Git-Dch: Ignore | |||
2013-11-30 | webserver: implement ~user access to ~user/public_html/ | David Kalnischkies | |
pretty much useless for the testcases, but handy to test the webserver itself in 'real world' environments Git-Dch: Ignore | |||
2013-11-30 | tests: enhance https support in the testcases | David Kalnischkies | |
Git-Dch: Ignore | |||
2013-11-30 | webserver: spurious newline after data confuses curl | David Kalnischkies | |
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-29 | fix crash when SetCandidateRelease is used | Michael Vogt | |
2013-11-29 | Merge remote-tracking branch 'mvo/debian/sid' into debian/sid | Michael Vogt | |
Conflicts: apt-private/private-cmndline.cc | |||
2013-11-29 | add "APT::String::Endswith" and automatic adding of ".list" in apt edit-source | Michael Vogt | |