[dh-make-perl] 05/05: adjust first test: t/cache.t
gregor herrmann
gregoa at debian.org
Wed Mar 23 23:14:58 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 32c8bb398248657008e1967bd993f0abc7cdadaf
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Mar 24 00:09:29 2016 +0100
adjust first test: t/cache.t
remove dropped command line options and use our new fake apt-get
Gbp-Dch: Ignore
---
t/cache.t | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/t/cache.t b/t/cache.t
index d662260..fe59e7f 100755
--- a/t/cache.t
+++ b/t/cache.t
@@ -27,12 +27,10 @@ sub dist_ok($) {
system( $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",
+ "--email", "joemaint\@test.local",
$dist );
is( $?, 0, "$dist_dir: system returned 0" );
@@ -47,5 +45,6 @@ sub dist_ok($) {
$ENV{PERL5LIB} = "lib";
$ENV{DEBFULLNAME} = "Joe Maintainer";
+$ENV{PATH} = "$Bin/bin:$ENV{PATH}";
dist_ok('Strange-0.1');
--
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