summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-612958-use-dpkg-multiarch-config
Commit message (Collapse)AuthorAgeFilesLines
* parse packages from all architectures into the cacheDavid Kalnischkies2015-08-101-11/+8
| | | | | | | | | | | | | | | | | | | | | | | Now that we can dynamically create dependencies and provides as needed rather than requiring to know with which architectures we will deal before running we can allow the listparser to parse all records rather than skipping records of "unknown" architectures. This can e.g. happen if a user has foreign architecture packages in his status file without dpkg knowing about this architecture (or apt configured in this way). A sideeffect is that now arch:all packages are (correctly) recorded as available from any Packages file, not just from the native one – which has its downsides for the resolver as mixed-arch source packages can appear in different architectures at different times, but that is the problem of the resolver and dealing with it in the parser is at best a hack (and also depends on a helpful repository). Another sideeffect is that his allows :none packages to appear in Packages files again as we don't do any kind of checks now, but given that they aren't really supported (anymore) by anyone we can live with that.
* add testcase for APT::Architectures "arch1,arch2"David Kalnischkies2014-03-211-0/+9
| | | | Git-Dch: Ignore
* add chronic-like testsuccess/testfailure helpersDavid Kalnischkies2013-08-121-2/+2
| | | | | | | | | | For many commands the output isn't stable (like then dpkg is called) but the exitcode is, so this helper enhances the common && msgpass || msgfail by generating automatically a msgtest and showing the output of the command in case of failure instead of discarding it unconditionally, the later being chronic-like behaviour Git-Dch: Ignore
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2011-12-141-0/+18
| | | | - parse dpkg --print-foreign-architectures correctly in case archs are separated by newline instead of space, too.
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2011-03-261-0/+59
- use dpkg --print-foreign-architectures to get multiarch configuration if non is specified with APT::Architectures (Closes: #612958)