[SCM] Debian package checker branch, master, updated. 2.2.0-40-gd8f9e52
The following commit has been merged in the master branch:
commit d8f9e52fb9828158fbb538742aae1e0202483782
Author: Russ Allbery <rra@debian.org>
Date: Sat Jan 31 18:04:18 2009 -0800
Some improvements to the copyright symlink test
All the tests share the same build directory, so it's best to use unique
names for the generated packages. Added {$srcpkg} qualifications to the
package names. Also used the pedantic template, added info and
experimental tags to get some additional false-positive testing, and
updated control.in accordingly.
diff --git a/t/tests/copyright-file-license-symlink/debian/debian/control.in b/t/tests/copyright-file-license-symlink/debian/debian/control.in
index e96a893..ed9a80e 100644
--- a/t/tests/copyright-file-license-symlink/debian/debian/control.in
+++ b/t/tests/copyright-file-license-symlink/debian/debian/control.in
@@ -6,7 +6,7 @@ Standards-Version: 3.8.0
Build-Depends: debhelper (>= 7)
Homepage: http://lintian.debian.org/
-Package: bad
+Package: {$srcpkg}-bad
Architecture: {$architecture}
Depends: $\{misc:Depends\}
Description: {$description}
@@ -14,10 +14,12 @@ Description: {$description}
Lintian. It is part of the Lintian test suite and may do very odd
things. It should not be installed like a regular package.
-Package: pedantic
+Package: {$srcpkg}-pedantic
Architecture: {$architecture}
Depends: $\{misc:Depends\}
Description: {$description} -- pedantic edition :)
+ Checks the pedantic version of the versionless copyright file check.
+ .
This is a test package designed to exercise some check of
Lintian. It is part of the Lintian test suite and may do very odd
things. It should not be installed like a regular package.
diff --git a/t/tests/copyright-file-license-symlink/debian/debian/bad.copyright b/t/tests/copyright-file-license-symlink/debian/debian/copyright-file-license-symlink-bad.copyright
similarity index 100%
rename from t/tests/copyright-file-license-symlink/debian/debian/bad.copyright
rename to t/tests/copyright-file-license-symlink/debian/debian/copyright-file-license-symlink-bad.copyright
diff --git a/t/tests/copyright-file-license-symlink/debian/debian/pedantic.copyright b/t/tests/copyright-file-license-symlink/debian/debian/copyright-file-license-symlink-pedantic.copyright
similarity index 100%
rename from t/tests/copyright-file-license-symlink/debian/debian/pedantic.copyright
rename to t/tests/copyright-file-license-symlink/debian/debian/copyright-file-license-symlink-pedantic.copyright
diff --git a/t/tests/copyright-file-license-symlink/desc b/t/tests/copyright-file-license-symlink/desc
index 4e96096..9b3a762 100644
--- a/t/tests/copyright-file-license-symlink/desc
+++ b/t/tests/copyright-file-license-symlink/desc
@@ -2,7 +2,8 @@ Testname: copyright-file-license-symlink
Sequence: 6000
Version: 1.0
Description: Test the versionless license files checks
+Options: -I -E --pedantic
+Skeleton: pedantic
Test-For:
copyright-refers-to-symlink-license
copyright-refers-to-versionless-license-file
-Options: --pedantic
\ No newline at end of file
diff --git a/t/tests/copyright-file-license-symlink/tags b/t/tests/copyright-file-license-symlink/tags
index c099623..93ddb8b 100644
--- a/t/tests/copyright-file-license-symlink/tags
+++ b/t/tests/copyright-file-license-symlink/tags
@@ -1,2 +1,2 @@
-P: pedantic: copyright-refers-to-symlink-license usr/share/common-licenses/GPL
-W: bad: copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL
+P: copyright-file-license-symlink-pedantic: copyright-refers-to-symlink-license usr/share/common-licenses/GPL
+W: copyright-file-license-symlink-bad: copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL
--
Debian package checker
Reply to: