[carton] 83/472: Unit test to prefer mirrors for searches. #18

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 2241a10eb4916dadcdc3c739a3c98cc47f3cdda4
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Wed Jun 29 22:58:14 2011 -0400

    Unit test to prefer mirrors for searches. #18
---
 xt/cli/mirror.t                                    |  21 +++++++++++++++++
 .../id/M/MI/MIYAGAWA/Hash-MultiValue-0.08.tar.gz   | Bin 0 -> 47374 bytes
 xt/mirror/modules/02packages.details.txt           |  25 +++++++++++++++++++++
 xt/mirror/modules/02packages.details.txt.gz        | Bin 0 -> 520 bytes
 4 files changed, 46 insertions(+)

diff --git a/xt/cli/mirror.t b/xt/cli/mirror.t
new file mode 100644
index 0000000..d371773
--- /dev/null
+++ b/xt/cli/mirror.t
@@ -0,0 +1,21 @@
+use strict;
+use Test::More;
+use xt::CLI;
+use Cwd;
+
+my $cwd = Cwd::cwd();
+
+{
+    my $app = cli();
+
+    $app->config->set("mirror", "$cwd/xt/mirror");
+    $app->run("install", "Hash::MultiValue");
+
+    $app->run("list");
+    is $app->output, "Hash-MultiValue-0.08\n";
+}
+
+done_testing;
+
+
+
diff --git a/xt/mirror/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-0.08.tar.gz b/xt/mirror/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-0.08.tar.gz
new file mode 100644
index 0000000..bb431bc
Binary files /dev/null and b/xt/mirror/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-0.08.tar.gz differ
diff --git a/xt/mirror/modules/02packages.details.txt b/xt/mirror/modules/02packages.details.txt
new file mode 100644
index 0000000..40ed304
--- /dev/null
+++ b/xt/mirror/modules/02packages.details.txt
@@ -0,0 +1,25 @@
+File:         02packages.details.txt
+URL:          http://www.perl.com/CPAN/modules/02packages.details.txt
+Description:  Package names found in carton.lock
+Columns:      package name, version, path
+Intended-For: Automated fetch routines, namespace documentation.
+Written-By:   Carton v0.9.0
+Line-Count:   16
+Last-Updated: Wed Jun 29 22:54:55 2011
+
+CGI                                    3.55  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Apache                            1.01  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Carp                              3.51  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Cookie                            1.30  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Fast                              1.08  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Pretty                            3.46  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Push                              1.05  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Switch                            1.01  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGI::Util                              3.53  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+CGITempFile                           undef  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+FCGI                                   0.73  F/FL/FLORA/FCGI-0.73.tar.gz
+FCGI::Stream                          undef  F/FL/FLORA/FCGI-0.73.tar.gz
+Fh                                    undef  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+Hash::MultiValue                       0.08  M/MI/MIYAGAWA/Hash-MultiValue-0.08.tar.gz
+MultipartBuffer                       undef  M/MA/MARKSTOS/CGI.pm-3.55.tar.gz
+Try::Tiny                              0.09  D/DO/DOY/Try-Tiny-0.09.tar.gz
diff --git a/xt/mirror/modules/02packages.details.txt.gz b/xt/mirror/modules/02packages.details.txt.gz
new file mode 100644
index 0000000..1535767
Binary files /dev/null and b/xt/mirror/modules/02packages.details.txt.gz differ

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git



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