[lintian] 01/01: t: Expand existing test a bit
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 887c3814d50d6e3194da17dd6bc9cf47db6d84ec
Author: Niels Thykier <niels@thykier.net>
Date: Fri Jul 7 11:07:34 2017 +0000
t: Expand existing test a bit
Signed-off-by: Niels Thykier <niels@thykier.net>
---
.../debian/debian/postinst | 21 +++++++++++++++++++++
.../scripts-maintainer-script-classification/tags | 3 +++
2 files changed, 24 insertions(+)
diff --git a/t/tests/scripts-maintainer-script-classification/debian/debian/postinst b/t/tests/scripts-maintainer-script-classification/debian/debian/postinst
index a447be9..1004a3a 100644
--- a/t/tests/scripts-maintainer-script-classification/debian/debian/postinst
+++ b/t/tests/scripts-maintainer-script-classification/debian/debian/postinst
@@ -9,4 +9,25 @@ if [ "$1" = configure ]; then
fi
# End automatically added section
+# Automatically added by dh_fake_lintian_tool_versioned/1.0
+if [ "$1" = configure ]; then
+ echo do something ...
+fi
+# End automatically added section
+
+# dh_python tools adds a ":" after for some reason. Ignore it
+# Automatically added by dh_fake_python3:
+if [ "$1" = configure ]; then
+ echo do something else ...
+fi
+# End automatically added section
+
+# Again, now pretending it has a version
+# Automatically added by dh_fake_python3_versioned/1.0:
+if [ "$1" = configure ]; then
+ echo do something else ...
+fi
+# End automatically added section
+
+
exit 0
diff --git a/t/tests/scripts-maintainer-script-classification/tags b/t/tests/scripts-maintainer-script-classification/tags
index af1acac..c12ed57 100644
--- a/t/tests/scripts-maintainer-script-classification/tags
+++ b/t/tests/scripts-maintainer-script-classification/tags
@@ -1 +1,4 @@
C: scripts-maintainer-script-classification: debhelper-autoscript-in-maintainer-scripts dh_fake_lintian_tool
+C: scripts-maintainer-script-classification: debhelper-autoscript-in-maintainer-scripts dh_fake_lintian_tool_versioned/1.0
+C: scripts-maintainer-script-classification: debhelper-autoscript-in-maintainer-scripts dh_fake_python3
+C: scripts-maintainer-script-classification: debhelper-autoscript-in-maintainer-scripts dh_fake_python3_versioned/1.0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: