[lintian] 01/02: t/tests/legacy-scripts: rename py2foo to py2.X foo
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit ffe8fa194b16cad7dede19a5f243d6bdc541efbe
Author: Antonio Ospite <ao2@ao2.it>
Date: Mon Nov 7 15:51:37 2016 +0100
t/tests/legacy-scripts: rename py2foo to py2.X foo
The new name reflects better the interpreter used in the script, which
is python2.2.
A new py2foo script using python2 as interpreter will be added in
a subsequent commit.
This will make it easier to differentiate the two cases and handle them
both.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
t/tests/legacy-scripts/debian/debian/rules | 4 ++--
t/tests/legacy-scripts/tags | 6 +++---
t/tests/legacy-scripts/upstream/{py2foo => py2.Xfoo} | 0
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/t/tests/legacy-scripts/debian/debian/rules b/t/tests/legacy-scripts/debian/debian/rules
index 25b6f9e..01ee039 100755
--- a/t/tests/legacy-scripts/debian/debian/rules
+++ b/t/tests/legacy-scripts/debian/debian/rules
@@ -30,9 +30,9 @@ binary-indep:
install -m 755 fish-foo $(tmp)/etc/fish.d/
install -m 755 jruby-broken $(tmp)/usr/bin/
install -m 755 pyfoo $(tmp)/usr/bin/
- install -m 755 py2foo $(tmp)/usr/bin/
+ install -m 755 py2.Xfoo $(tmp)/usr/bin/
# This uses "env" and should trigger script-in-usr-share-doc
- install -m 755 py2foo $(tmp)/usr/share/doc/scripts/
+ install -m 755 py2.Xfoo $(tmp)/usr/share/doc/scripts/
install -m 755 perlfoo $(tmp)/usr/bin/
install -m 755 rubyfoo $(tmp)/usr/bin/
# This doesn't use "env" but should also trigger script-in-usr-share-doc
diff --git a/t/tests/legacy-scripts/tags b/t/tests/legacy-scripts/tags
index 0436902..11ffd30 100644
--- a/t/tests/legacy-scripts/tags
+++ b/t/tests/legacy-scripts/tags
@@ -16,7 +16,7 @@ E: scripts: missing-dep-for-interpreter lefty => graphviz (usr/bin/lefty-foo)
E: scripts: package-installs-python-bytecode usr/lib/python2.3/site-packages/test.pyc
E: scripts: php-script-but-no-phpX-cli-dep usr/share/scripts/php5foo
E: scripts: php-script-but-no-phpX-cli-dep usr/share/scripts/phpfoo
-E: scripts: python-script-but-no-python-dep usr/bin/py2foo
+E: scripts: python-script-but-no-python-dep usr/bin/py2.Xfoo
E: scripts: python-script-but-no-python-dep usr/bin/pyfoo
E: scripts: shell-script-fails-syntax-check usr/bin/sh-broken
E: scripts: wrong-path-for-interpreter usr/bin/lefty-foo (#!/usr/local/bin/lefty != /usr/bin/lefty)
@@ -32,7 +32,7 @@ I: scripts: init.d-script-does-not-implement-optional-option etc/init.d/skeleton
I: scripts: init.d-script-does-not-provide-itself etc/init.d/lsb-broken
I: scripts: init.d-script-missing-lsb-short-description etc/init.d/lsb-other
I: scripts: no-md5sums-control-file
-I: scripts: script-in-usr-share-doc usr/share/doc/scripts/py2foo
+I: scripts: script-in-usr-share-doc usr/share/doc/scripts/py2.Xfoo
I: scripts: script-in-usr-share-doc usr/share/doc/scripts/rubyfoo
W: scripts source: ancient-standards-version 3.2.1 (current is CURRENT)
W: scripts source: binary-arch-rules-but-pkg-is-arch-indep
@@ -55,7 +55,7 @@ W: scripts: binary-without-manpage usr/bin/perl-bizarre-1
W: scripts: binary-without-manpage usr/bin/perl-bizarre-2
W: scripts: binary-without-manpage usr/bin/perl-bizarre-3
W: scripts: binary-without-manpage usr/bin/perlfoo
-W: scripts: binary-without-manpage usr/bin/py2foo
+W: scripts: binary-without-manpage usr/bin/py2.Xfoo
W: scripts: binary-without-manpage usr/bin/pyfoo
W: scripts: binary-without-manpage usr/bin/rubyfoo
W: scripts: binary-without-manpage usr/bin/sh-broken
diff --git a/t/tests/legacy-scripts/upstream/py2foo b/t/tests/legacy-scripts/upstream/py2.Xfoo
similarity index 100%
rename from t/tests/legacy-scripts/upstream/py2foo
rename to t/tests/legacy-scripts/upstream/py2.Xfoo
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: