summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Dumont <dod@debian.org>2020-01-20 17:11:27 +0100
committerDominique Dumont <dod@debian.org>2020-01-20 17:19:43 +0100
commitd3f366fa45a589bac1567bb149d7c25598021229 (patch)
tree899f89571f6ff5214bfa78d3e660aa569c95dd00
parent7a047ddfd35b709e9be55c97c510315c1a3e276a (diff)
test and/or license combination
-rw-r--r--t/model_tests.d/dpkg-copyright-test-conf.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/model_tests.d/dpkg-copyright-test-conf.pl b/t/model_tests.d/dpkg-copyright-test-conf.pl
index c82ae739..266fb0e3 100644
--- a/t/model_tests.d/dpkg-copyright-test-conf.pl
+++ b/t/model_tests.d/dpkg-copyright-test-conf.pl
@@ -288,10 +288,12 @@ in ‘/usr/share/common-licenses/GPL-1’.",
check => {
'License:ISC text' => qr/Please fill/,
'License:BSD-2-clause text' => qr/Please fill/,
+ 'Files:"3rdparty/libuv/samples/*" License short_name' => "BSD-3-clause and/or Expat",
},
wr_check => {
qq!Files:"3rdparty/dyncall/*" License full_license! => undef,
},
+ has_not_key => [ License => qr!and/or! ],
file_contents_unlike => {
'debian/copyright' => qr/\n\nLicense: ISC\n\n/,
'debian/copyright' => qr/\n\nLicense: BSD-2-clause\n\n/,