summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-02-06multicompress with externals sets wrong file modesColin Watson
Copy from the bug description: After we upgraded the Ubuntu master archive from lucid to precise, we noticed that Translation-en.bz2 was being written with mode 0600 rather than 0644, which broke our mirroring. This is no longer reproducible as such in unstable because apt now links against libbz2, but it's still reproducible with xz; it happens because multicompress fchmods one end of the compression pipe in this case rather than the target file. [Original testcase slightly modified to comply with house-style] Closes: 737130
2014-02-06Merge remote-tracking branch 'mvo/bugfix/multiarch-upgrade' into debian/sidMichael Vogt
2014-02-06discard impossible candidates in MarkInstallDavid Kalnischkies
If a (Pre-)Depends can't be satisfied there is no point in keeping the candidate as is as it is impossible to find a solution for it, so we can just as well reset the candidate to the currently installed version. We avoid trying to install this impossible candidate later on this way. Closes: #735967
2014-02-04Fix multiarch package upgrade issueMichael Vogt
When checking for negative dependencies in MarkInstall() ensure that only dependencies that are relevant (i.e. getting installed) are checked.
2014-01-31show "status" in apt list lastMichael Vogt
2014-01-31Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
2014-01-30pkgTagFile: if we have seen the end, do not try to see moreDavid Kalnischkies
Asking for more via Step() will notice that we are done with the file already and will result in a fail, which means we can't find the last sections anymore (which is especially painful if we haven't moved at all as in the testcase we haven't even looked at one of the sources leading to a strange behaviour) Reported-By: Niall Walsh <niallwalsh@users.berlios.de>
2014-01-29fix apt-get download truncation (closes: #736962)Michael Vogt
2014-01-28add test for Suite with pathMichael Vogt
2014-01-26enable deb822 sources for associated testcaseDavid Kalnischkies
Git-Dch: Ignore
2014-01-26fixup merge issues introduced in 796673cDavid Kalnischkies
Issues in doc/po/de.po (fixed by Chris already) and test/integration/framework Git-Dch: Ignore
2014-01-26Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt
Conflicts: apt-private/private-list.cc doc/po/de.po test/integration/framework
2014-01-25Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt
2014-01-25support " " in deb822 source optionsMichael Vogt
2014-01-24fix testMichael Vogt
2014-01-24Merge remote-tracking branch 'mvo/feature/apt-show-nice' into ↵Michael Vogt
debian/experimental-no-abi-break Conflicts: apt-private/private-cmndline.cc
2014-01-24Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-24Merge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sidMichael Vogt
2014-01-24hide more from apt showMichael Vogt
Hide the Hashes,Filename,Multi-Arch,Architecture by default from "apt show". The information is still available via apt-cache show. Also improve the output of the Size-
2014-01-24Show "Manual-Installed: {yes|no}" in apt showMichael Vogt
2014-01-24add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt
There is a new "apt full-upgrade" that performs a apt-get dist-upgrade. "apt dist-upgrade" is still supported as a alias. The "apt upgrade" code is changed so that it mirrors the behavior of "apt-get upgrade --with-new-pkgs" and also honors "apt uprade --no-new-pkgs".
2014-01-23include "Archive-Origin" in the apt show outputMichael Vogt
2014-01-22Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-22"apt show" show user friendly size infoMichael Vogt
The size/installed-size is displayed via SizeToStr() and Size is rewriten to "Download-Size" to make clear what size is refered to here.
2014-01-22add test for apt showMichael Vogt
2014-01-22add integration test for apt searchMichael Vogt
2014-01-21Merge remote-tracking branch 'upstream/debian/experimental-no-abi-break' ↵Michael Vogt
into feature/source-deb822 Conflicts: test/integration/test-apt-sources-deb822
2014-01-20add support for multipl types in one lineMichael Vogt
2014-01-20add support for multiple URIs in deb822 style sources.listMichael Vogt
2014-01-20add support for Enabled: no in deb822 sources.listMichael Vogt
2014-01-20add Description tag for deb822 sourcesMichael Vogt
2014-01-18Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-18rename "Suite/Section" to pluralMichael Vogt
2014-01-18Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-18Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-17get color/msglevel handling for tests in lineDavid 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-17implement suggestion by donkult (thanks!)Michael Vogt
2014-01-17ensure the right permissions as dpkg-deb ensistsDavid 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-17use our tmpdir instead of creating tmpfilesDavid 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-17correct some quoting offensesDavid 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-17add missing integration test for "apt list"Michael Vogt
2014-01-17improve stdout/stderr usage correctness in test frameworkDavid 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-16use our own homedir for gpg in testcasesDavid Kalnischkies
Git-Dch: Ignore
2014-01-16correct some style/performance/warnings from cppcheckDavid 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-16merged mvo/feature/deb822Michael Vogt
2014-01-16rework some code to fix some scan-build warningsDavid 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-16update libapt testMichael Vogt
2014-01-16show the error message if the webserver start failedDavid Kalnischkies
Can happen e.g. if port 8080 is already used by something else Git-Dch: Ignore
2014-01-16support multiple "Suite:" entriesMichael Vogt
2014-01-16rename URL to Uri in deb822-sourcesMichael Vogt