From: mike Date: Wed, 21 Dec 2005 00:43:54 +0000 (+0000) Subject: Use test-server on bagel, not sometimes-absent local server X-Git-Tag: cpan_1_22~282 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=e4921abe4cfeafeb90b600859a07117d06e87203;p=ZOOM-Perl-moved-to-github.git Use test-server on bagel, not sometimes-absent local server --- diff --git a/t/15-scan.t b/t/15-scan.t index 5e28a70..f9236c4 100644 --- a/t/15-scan.t +++ b/t/15-scan.t @@ -1,4 +1,4 @@ -# $Id: 15-scan.t,v 1.8 2005-12-21 00:16:50 mike Exp $ +# $Id: 15-scan.t,v 1.9 2005-12-21 00:43:54 mike Exp $ # Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 15-scan.t' @@ -11,8 +11,7 @@ BEGIN { use_ok('Net::Z3950::ZOOM') }; my($errcode, $errmsg, $addinfo) = (undef, "dummy", "dummy"); -#my $host = "indexdata.com/gils"; -my $host = "localhost:9999/default"; +my $host = "indexdata.com/gils"; my $conn = Net::Z3950::ZOOM::connection_new($host, 0); $errcode = Net::Z3950::ZOOM::connection_error($conn, $errmsg, $addinfo); ok($errcode == 0, "connection to '$host'"); diff --git a/t/25-scan.t b/t/25-scan.t index 8c5bf6e..d0a4f86 100644 --- a/t/25-scan.t +++ b/t/25-scan.t @@ -1,4 +1,4 @@ -# $Id: 25-scan.t,v 1.6 2005-12-21 00:16:50 mike Exp $ +# $Id: 25-scan.t,v 1.7 2005-12-21 00:43:54 mike Exp $ # Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 25-scan.t' @@ -9,8 +9,7 @@ use Test::More tests => 81; BEGIN { use_ok('ZOOM') }; -#my $host = "indexdata.com/gils"; -my $host = "localhost:9999/default"; +my $host = "indexdata.com/gils"; my $conn; eval { $conn = new ZOOM::Connection($host, 0) }; ok(!$@, "connection to '$host'");