summaryrefslogtreecommitdiff
path: root/t/dh_installdocs
AgeCommit message (Collapse)AuthorFilesLines
2018-01-31t: Remove some uid_0_test_is_ok guardsNiels Thykier1-5/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2018-01-28Rely on DEB_RULES_REQUIRES_ROOT for R³ supportNiels Thykier1-8/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-11-25t: Make tests work without fakeroot when R³ is enabledNiels Thykier1-0/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-13install_{file,lib,prog}: Replace dangling symlinksNiels Thykier1-0/+30
The "install" command they emulate did as well. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-03Set Emacs file variables directory-wideSven Joachim1-5/+0
Set the local variables for Emacs in the central placed intended for it, rather than in (currently) 95 individual files. Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-02t: Drop unnecessary filesNiels Thykier1-1/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-02dh_installdocs.t: Migrate to Test::DHNiels Thykier2-60/+60
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-06-29Revert "dh_installdocs: Install use dir of mainpackage (C11)"Niels Thykier1-12/+1
This reverts commit 71007f72da682dd9d7f932d81ca2ecd5d46a0e70 (plus effectively 6c946cd0bb239a4fd02e7acbcb797ecccfb0e3cb). The policy said "X-doc => X" not "X-doc => main package", so the current implementation was insufficient. Roll it back while we figure out a better way to do this.
2017-06-28dh_installdocs: Do less under nodoc profileNiels Thykier1-1/+20
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-07-16Add some tests for for dh_installdocsSven Joachim5-0/+105
This is a small test suite for dh_installdocs, motivated by the problems found in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830309. It catches both the bug introduced in commit 71007f72da682dd9d7f932d81ca and the regression caused by commit 863ef397c939340e863be1e96c822934a. The tests verify that the correct /usr/share/doc symlinks and directories are set up with and without the --link-doc option, in both compat level 9 and 11. Since dh_installdocs runs chown(1), the tests are skipped if run by an ordinary user and fakeroot is unavailable. Signed-off-by: Niels Thykier <niels@thykier.net>