[dh-make-perl] 03/05: update last test: t/dists.t
gregor herrmann
gregoa at debian.org
Fri Mar 25 02:43:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch gregoa/apt-file-3
in repository dh-make-perl.
commit ff7c5b8b6a46e9c2ce7e19c54f3d871791088be2
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Mar 25 03:35:40 2016 +0100
update last test: t/dists.t
- drop removed command line option
- use fake apt-get
Gbp-Dch: Ignore
---
t/dists.t | 53 +++++++++++++++++++++++++----------------------------
1 file changed, 25 insertions(+), 28 deletions(-)
diff --git a/t/dists.t b/t/dists.t
index cfda796..e2e0d1d 100755
--- a/t/dists.t
+++ b/t/dists.t
@@ -128,13 +128,12 @@ sub dist_ok($) {
run => [
$ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
"--no-verbose",
- "--home-dir", "$Bin/contents",
- "--apt-contents-dir", "$Bin/contents",
- "--data-dir", "$Bin/../share",
- $ENV{NO_NETWORK} ? '--no-network' : (), "--vcs",
- "none", "--sources-list",
- "$Bin/contents/sources.list", "--email",
- "joemaint\@test.local", $dist
+ "--home-dir", "$Bin/contents",
+ "--data-dir", "$Bin/../share",
+ $ENV{NO_NETWORK} ? '--no-network' : (),
+ "--vcs", "none",
+ "--email", "joemaint\@test.local",
+ $dist
],
dist_dir => $dist_dir,
comment => 'initial',
@@ -152,13 +151,12 @@ sub dist_ok($) {
run => [
$ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
"--no-verbose",
- "--home-dir", "$Bin/contents",
- "--apt-contents-dir", "$Bin/contents",
- "--data-dir", "$Bin/../share",
- $ENV{NO_NETWORK} ? '--no-network' : (), "--vcs",
- "none", "--sources-list",
- "$Bin/contents/sources.list", "--email",
- "joemaint\@test.local", "refresh",
+ "--home-dir", "$Bin/contents",
+ "--data-dir", "$Bin/../share",
+ $ENV{NO_NETWORK} ? '--no-network' : (),
+ "--vcs", "none",
+ "--email", "joemaint\@test.local",
+ "refresh",
$dist,
],
comment => 'refresh',
@@ -177,14 +175,13 @@ sub dist_ok($) {
run => [
$ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
"--no-verbose",
- "--home-dir", "$Bin/contents",
- "--apt-contents-dir", "$Bin/contents",
- "--data-dir", "$Bin/../share",
- $ENV{NO_NETWORK} ? '--no-network' : (), "--vcs",
- "none", "--sources-list",
- "$Bin/contents/sources.list", "--email",
- "joemaint\@test.local", "refresh",
- '--source-format', '3.0 (quilt)',
+ "--home-dir", "$Bin/contents",
+ "--data-dir", "$Bin/../share",
+ $ENV{NO_NETWORK} ? '--no-network' : (),
+ "--vcs", "none",
+ "--email", "joemaint\@test.local",
+ "refresh",
+ '--source-format', '3.0 (quilt)',
$dist
],
dist_dir => $dist_dir,
@@ -206,12 +203,11 @@ sub dist_ok($) {
run => [
$ENV{ADTTMP} ? 'dh-make-perl' : "$Bin/../dh-make-perl",
"--no-verbose",
- "--home-dir", "$Bin/contents",
- "--apt-contents-dir", "$Bin/contents",
- "--data-dir", "$Bin/../share",
- $ENV{NO_NETWORK} ? '--no-network' : (), "--vcs",
- "none", "--sources-list",
- "$Bin/contents/sources.list", "refresh",
+ "--home-dir", "$Bin/contents",
+ "--data-dir", "$Bin/../share",
+ $ENV{NO_NETWORK} ? '--no-network' : (),
+ "--vcs", "none",
+ "refresh",
$dist
],
dist_dir => $dist_dir,
@@ -255,6 +251,7 @@ sub modify_changelog {
$ENV{PERL5LIB} = "lib";
$ENV{DEBFULLNAME} = "Joe Maintainer";
+$ENV{PATH} = "$Bin/bin:$ENV{PATH}";
for( qw( Strange-0.1 Strange-2.1 ) ) {
dist_ok($_);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list