[libconfig-model-dpkg-perl] 04/10: test writing utf8 char in copyright file
dod at debian.org
dod at debian.org
Mon Nov 13 17:29:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.
commit a232d0c1132dcac82cf9ddf495b6ec46fb4ccd13
Author: Dominique Dumont <dod at debian.org>
Date: Sun Nov 5 18:43:09 2017 +0100
test writing utf8 char in copyright file
---
t/model_tests.d/dpkg-test-conf.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/t/model_tests.d/dpkg-test-conf.pl b/t/model_tests.d/dpkg-test-conf.pl
index de0029d..447f2de 100644
--- a/t/model_tests.d/dpkg-test-conf.pl
+++ b/t/model_tests.d/dpkg-test-conf.pl
@@ -3,6 +3,7 @@ use IO::File;
use File::HomeDir ;
use strict;
use warnings;
+use utf8;
$conf_file_name = "";
$conf_dir = '';
@@ -168,11 +169,11 @@ sub add {
# Debian bug #795195
name => 'open-nebula-from-scratch',
update => { in => path('t/scanner/examples/open-nebula.in'), quiet => 1 },
- load => 'copyright License:"MPL-2.0" text="mpl 2.0 blah-blah" '
+ load => 'copyright License:"MPL-2.0" text="mpl 2.0 blah-blah € «»" '
. '! copyright Files:"src/sunstone/public/css/novnc-custom.css" License full_license~',
file_contents_like => {
'debian/copyright' => [
- qr!Files: src/im_mad/remotes/az.d/\*!
+ qr!Files: src/im_mad/remotes/az.d/\*!, '€ «»'
]
},
file_check_sub => add(qw/rules home log/),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list