summaryrefslogtreecommitdiff
path: root/test/integration/test-method-mirror
Commit message (Collapse)AuthorAgeFilesLines
* ensure correct file permissions for auxfilesDavid Kalnischkies2018-02-191-6/+25
| | | | | | | | | | | | | | The interesting takeaway here is perhaps that 'chmod +w' is effected by the umask – obvious in hindsight of course. The usual setup helps with hiding that applying that recursively on all directories (and files) isn't correct. Ensuring files will not be stored with the wrong permissions even if in strange umask contexts is trivial in comparison. Fixing the test also highlighted that it wasn't bulletproof as apt will automatically fix the permissions of the directories it works with, so for this test we actually need to introduce a shortcut in the code. Reported-By: Ubuntu autopkgtest CI
* Work around test-method-mirror failure by setting umask at startJulian Andres Klode2018-02-191-0/+2
| | | | This fixes a test failure on autopkgtest.
* allow the apt/lists/auxfiles/ directory to be missingDavid Kalnischkies2018-01-191-3/+35
| | | | | | | | | | apt 1.6~alpha6 introduced aux requests to revamp the implementation of a-t-mirror. This already included the potential of running as non-root, but the detection wasn't complete resulting in errors or could produce spurious warnings along the way if the directory didn't exist yet. References: ef9677831f62a1554a888ebc7b162517d7881116 Closes: 887624
* add a testcase for the mirror methodDavid Kalnischkies2018-01-031-0/+190
Gbp-Dch: Ignore