summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSven Joachim <svenjoac@gmx.de>2016-07-11 18:12:54 +0200
committerNiels Thykier <niels@thykier.net>2016-07-16 14:42:42 +0000
commitd2bf014000a296e29030a443f78c7dbc92696cf6 (patch)
tree426aadbb36778b3c4dc7f802373b433b742341bd /Makefile
parent6c946cd0bb239a4fd02e7acbcb797ecccfb0e3cb (diff)
downloaddebhelper-d2bf014000a296e29030a443f78c7dbc92696cf6.tar.gz
Add some tests for for dh_installdocs
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9c2e9f95..e27779b3 100644
--- a/Makefile
+++ b/Makefile
@@ -101,6 +101,6 @@ install:
install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem
test: version
- ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/buildsystems/*
+ ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/*/*
# clean up log etc
./run dh_clean