[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.76-1-5-g8eebe87

Damyan Ivanov dmn at debian.org
Thu Oct 11 20:45:09 UTC 2012


The following commit has been merged in the master branch:
commit 8eebe87aab61b6609c437c37077c9f4d5bea9c40
Author: Damyan Ivanov <dmn at debian.org>
Date:   Thu Oct 11 23:45:00 2012 +0300

    add test about handling user:pass@ in sources.list URLs

diff --git a/t/AptContents.t b/t/AptContents.t
index 1ff0a30..5d82b1c 100755
--- a/t/AptContents.t
+++ b/t/AptContents.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 25;
+use Test::More tests => 26;
 
 BEGIN {
     use_ok 'Debian::AptContents';
@@ -80,6 +80,18 @@ is_deeply(
 );
 
 is_deeply(
+    [   $apt_contents->repo_source_to_contents_paths(
+            'deb http://user:pass@ftp2.de.debian.org/debian/ squeeze main contrib non-free'
+        )
+    ],
+    [   'ftp2.de.debian.org_debian_dists_squeeze_main',
+        'ftp2.de.debian.org_debian_dists_squeeze_contrib',
+        'ftp2.de.debian.org_debian_dists_squeeze_non-free',
+    ],
+    'source lines with user:pass@',
+);
+
+is_deeply(
     [ $apt_contents->repo_source_to_contents_paths(
         'deb file:/home/jason/debian stable main contrib non-free') ],
     [ '_home_jason_debian_dists_stable_main',

-- 
Debian packaging of dh-make-perl



More information about the Pkg-perl-cvs-commits mailing list