summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2014-01-16rename "distribution" in sources.list to "suite"Michael Vogt
2014-01-16* refactor to have a new virtual ParseStanzaMichael Vogt
Have a similar ParseStanza() to the current ParseLine(). Rename the Architectures options in deb822 to make it more user friendly
2014-01-16remove "," in components againMichael Vogt
2014-01-15rework some testcases to not spit out textDavid Kalnischkies
Rework also uncovers two FIXMEs Git-Dch: Ignore
2014-01-15integrate Anthonys rred with POC for client-side mergeDavid Kalnischkies
Providing the benefits of both without the downsides :) (ABI breaks or external dependencies) For this Anthonys rred is equipped with: - magic-filename-pickup of patches rather than explicit messages - use of FileFd instead of FILE* to get on-the-fly uncompress of the gzip compressed pdiff patches The acquire code in turn stops checking for apt-file's helper as our own rred is now clever enough for our needs.
2014-01-15actually register the tempfile removal atexitDavid Kalnischkies
Git-Dch: Ignore
2014-01-15test apt-get source release selection with suite and codenameDavid Kalnischkies
Git-Dch: Ignore
2014-01-15tests: default to 'sid' codename for 'unstable'David Kalnischkies
Git-Dch: Ignore
2014-01-15use C.UTF-8 in testcases as localeDavid Kalnischkies
Git-Dch: Ignore
2014-01-05Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-05Merge remote-tracking branch 'donkult/feature/clientmergepdiffs' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-04improve error messageMichael Vogt
2014-01-04improve testsMichael Vogt
2014-01-04Merge branch 'debian/sid' into feature/source-deb822Michael Vogt
2013-12-27fix APTWEBSERVERBINDIR defaultMichael Vogt
2013-12-27Merge branch 'feature/tests-on-installed' into debian/sidMichael Vogt
2013-12-27Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt
2013-12-27Merge branch 'feature/policy-parser-bts732746' into debian/sidMichael Vogt
2013-12-24add integration testMichael Vogt
2013-12-23add basic tests for GetTempDir()Michael Vogt
2013-12-21make /etc/apt/preferences parser deal with comment only sectionsMichael Vogt
2013-12-19fix apt-key net-update test to use the buildin webserverMichael Vogt
2013-12-13make apt-key net-update actually testableMichael Vogt
2013-12-13implement POC client-side merging of pdiffs via apt-fileDavid Kalnischkies
The idea of pdiffs is to avoid downloading the hole file by patching the existing index. This works very well, but becomes slow if a lot of patches needs to be applied to reconstruct an up-to-date index and in recent years more and more dinstall (or similar) runs are executed creating more and more pdiffs in the same amount of time, so pdiffs became less useful. The solution is simple: Reduce the amount of patches (which are very small) which need to be applied on top of the index we have available (which is usually pretty big). This can be done in two ways: Either merge the patches on the server-side so that the client has to download only one patch or the patches are all downloaded and merged on the client-side. The first needs a client who is doing one step at a time who can also skip patches if it needs (APT supports this for a long time now). The later is implemented by this commit, but depends on the server NOT merging the patches and the patches being in a strict order in which no patch is skipped. This is traditionally the case for dak, but other repository creators support merging – e.g. reprepro (which helpfully adds a flag indicating that the patches are merged). To support both or even mixes a client needs more information which isn't available for now. This POC uses the external diffindex-rred included in apt-file to do the heavy lifting of merging & applying all patches in one pass, hence to test this feature apt-file needs to be installed.