File: disable_test.patch

package info (click to toggle)
libgit-pureperl-perl 0.50-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 340 kB
  • ctags: 206
  • sloc: perl: 3,136; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: disable test, because of needed network (Closes: #634580)
Bug-Debian: http://bugs.debian.org/634580
Forwarded: not needed
Author: Jonas Genannt <jonas.genannt@capi2name.de>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-06-27

--- a/t/protocol_gpp.t
+++ b/t/protocol_gpp.t
@@ -12,9 +12,10 @@ dir($directory)->rmtree;
 my $git = Git::PurePerl->init( directory => $directory );
 isa_ok( $git, 'Git::PurePerl', 'can init' );
 
-$git->clone( 'github.com', '/acme/git-pureperl.git' );
+# Disable test due needed network connection
+#$git->clone( 'github.com', '/acme/git-pureperl.git' );
 
-ok( $git->all_sha1s->all >= 604 );
-ok( $git->all_objects->all >= 604 );
+#ok( $git->all_sha1s->all >= 604 );
+#ok( $git->all_objects->all >= 604 );
 
 done_testing;