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

[lintian] 03/03: Do not run testsuite with ${souce-Version} with newer dpkg



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 4507bf78498b7524d55c368619cb8a4d71e2f49d
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Tue Nov 8 11:45:57 2016 +0100

    Do not run testsuite with ${souce-Version} with newer dpkg
    
    Dpkg will crash thus crashing testsuite
    
    Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
 t/tests/version-substvars-general/debian/debian/control.in  |  2 +-
 t/tests/version-substvars-general/tags                      |  1 -
 .../debian/debian/control.in                                |  0
 t/tests/version-substvars-obsolete/desc                     | 13 +++++++++++++
 t/tests/version-substvars-obsolete/tags                     |  8 ++++++++
 5 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/t/tests/version-substvars-general/debian/debian/control.in b/t/tests/version-substvars-general/debian/debian/control.in
index b00030d..c483f80 100644
--- a/t/tests/version-substvars-general/debian/debian/control.in
+++ b/t/tests/version-substvars-general/debian/debian/control.in
@@ -20,7 +20,7 @@ Description: {$description}
 Package: program-data
 Architecture: all
 Depends: $\{shlibs:Depends\}, $\{misc:Depends\},
-         foreign-pkg:any (= $\{Source-Version\})
+         foreign-pkg:any (= $\{source:Version\})
 Replaces: other-foreign-pkg:any (<< $\{binary:Version\})
 Description: {$description} - data
  This is a test package designed to exercise some feature or tag of
diff --git a/t/tests/version-substvars-general/tags b/t/tests/version-substvars-general/tags
index 7d61949..56b29e5 100644
--- a/t/tests/version-substvars-general/tags
+++ b/t/tests/version-substvars-general/tags
@@ -5,4 +5,3 @@ E: version-substvars-general source: not-binnmuable-any-depends-all program-util
 E: version-substvars-general source: not-binnmuable-any-depends-any program-utils -> program-bin
 E: version-substvars-general source: version-substvar-for-external-package program-data -> foreign-pkg
 E: version-substvars-general source: version-substvar-for-external-package program-data -> other-foreign-pkg
-W: version-substvars-general source: substvar-source-version-is-deprecated program-data
diff --git a/t/tests/version-substvars-general/debian/debian/control.in b/t/tests/version-substvars-obsolete/debian/debian/control.in
similarity index 100%
copy from t/tests/version-substvars-general/debian/debian/control.in
copy to t/tests/version-substvars-obsolete/debian/debian/control.in
diff --git a/t/tests/version-substvars-obsolete/desc b/t/tests/version-substvars-obsolete/desc
new file mode 100644
index 0000000..d8d9246
--- /dev/null
+++ b/t/tests/version-substvars-obsolete/desc
@@ -0,0 +1,13 @@
+Testname: version-substvars-obsolete
+Version: 1.0
+Description: Test of substvars
+Options: -L +classification -C version-substvars
+Test-For:
+ maybe-not-arch-all-binnmuable
+ not-binnmuable-all-depends-any
+ not-binnmuable-any-depends-all
+ not-binnmuable-any-depends-any
+ substvar-source-version-is-deprecated
+ version-substvar-for-external-package
+# dpkg 1.18.11 Will error out for ${source-version}
+Test-Depends: dpkg (<< 1.17.2)
diff --git a/t/tests/version-substvars-obsolete/tags b/t/tests/version-substvars-obsolete/tags
new file mode 100644
index 0000000..eb28e2c
--- /dev/null
+++ b/t/tests/version-substvars-obsolete/tags
@@ -0,0 +1,8 @@
+C: version-substvars-obsolete source: maybe-not-arch-all-binnmuable program-bin -> program-data-extra
+E: version-substvars-obsolete source: not-binnmuable-all-depends-any program-data-extra -> program-bin
+E: version-substvars-obsolete source: not-binnmuable-any-depends-all program-bin -> program-data
+E: version-substvars-obsolete source: not-binnmuable-any-depends-all program-utils -> program-data
+E: version-substvars-obsolete source: not-binnmuable-any-depends-any program-utils -> program-bin
+E: version-substvars-obsolete source: version-substvar-for-external-package program-data -> foreign-pkg
+E: version-substvars-obsolete source: version-substvar-for-external-package program-data -> other-foreign-pkg
+W: version-substvars-obsolete source: substvar-source-version-is-deprecated program-data

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: