[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.1-137-g50287fd



The following commit has been merged in the master branch:
commit fa8bf494c2b614a84f06d92af6a78150c5a951f5
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 23 12:31:48 2011 +0200

    Extended scripts-missing-dep test to include php and python

diff --git a/t/COVERAGE b/t/COVERAGE
index 8c446be..7ef9ac9 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-07-23
-Coverage: 659/913 (72.18%), w. legacy tests: 804/913 (88.06%)
+Coverage: 661/913 (72.40%), w. legacy tests: 804/913 (88.06%)
 
 The following tags are not tested by the test suite:
 
@@ -269,8 +269,6 @@ scripts ancient-dpkg-predepends-check
 scripts executable-not-elf-or-script
 scripts maintainer-script-ignores-errors
 scripts maintainer-script-removes-device-files
-scripts php-script-but-no-phpX-cli-dep
-scripts python-script-but-no-python-dep
 scripts script-not-executable
 scripts shell-script-fails-syntax-check
 scripts update-alternatives-remove-called-in-postrm
@@ -449,8 +447,6 @@ scripts
   init.d-script-missing-lsb-short-description
   non-standard-executable-perm
   non-standard-setuid-executable-perm
-  php-script-but-no-phpX-cli-dep
-  python-script-but-no-python-dep
   script-in-usr-share-doc
   script-with-language-extension
   shell-script-fails-syntax-check
diff --git a/t/tests/scripts-missing-dep/debian/php-script b/t/tests/scripts-missing-dep/debian/php-script
new file mode 100755
index 0000000..fc77cb9
--- /dev/null
+++ b/t/tests/scripts-missing-dep/debian/php-script
@@ -0,0 +1,4 @@
+#!/usr/bin/php
+<?php
+        echo "Hallo\n";
+?>
diff --git a/t/tests/scripts-missing-dep/debian/python-script b/t/tests/scripts-missing-dep/debian/python-script
new file mode 100755
index 0000000..ee4bd9a
--- /dev/null
+++ b/t/tests/scripts-missing-dep/debian/python-script
@@ -0,0 +1,4 @@
+#!/usr/bin/python
+
+# whatever
+
diff --git a/t/tests/scripts-missing-dep/desc b/t/tests/scripts-missing-dep/desc
index d6794cb..8d9126f 100644
--- a/t/tests/scripts-missing-dep/desc
+++ b/t/tests/scripts-missing-dep/desc
@@ -6,4 +6,6 @@ Test-For: wish-script-but-no-wish-dep
  ruby-script-but-no-ruby-dep
  gawk-script-but-no-gawk-dep
  mawk-script-but-no-mawk-dep
+ php-script-but-no-phpX-cli-dep
+ python-script-but-no-python-dep
  tclsh-script-but-no-tclsh-dep
diff --git a/t/tests/scripts-missing-dep/tags b/t/tests/scripts-missing-dep/tags
index 4564028..dce7299 100644
--- a/t/tests/scripts-missing-dep/tags
+++ b/t/tests/scripts-missing-dep/tags
@@ -1,5 +1,7 @@
 E: scripts-missing-dep: gawk-script-but-no-gawk-dep usr/bin/gawk-script
 E: scripts-missing-dep: mawk-script-but-no-mawk-dep usr/bin/mawk-script
+E: scripts-missing-dep: php-script-but-no-phpX-cli-dep usr/bin/php-script
+E: scripts-missing-dep: python-script-but-no-python-dep usr/bin/python-script
 E: scripts-missing-dep: ruby-script-but-no-ruby-dep usr/bin/ruby-script
 E: scripts-missing-dep: tclsh-script-but-no-tclsh-dep usr/bin/tclsh-script
 E: scripts-missing-dep: wish-script-but-no-wish-dep usr/bin/wish-script

-- 
Debian package checker


Reply to: