projects
/
ZOOM-Perl-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b22ab8
)
Use test-server on bagel, not sometimes-absent local server
author
mike
<mike>
Wed, 21 Dec 2005 00:43:54 +0000
(
00:43
+0000)
committer
mike
<mike>
Wed, 21 Dec 2005 00:43:54 +0000
(
00:43
+0000)
t/15-scan.t
patch
|
blob
|
history
t/25-scan.t
patch
|
blob
|
history
diff --git
a/t/15-scan.t
b/t/15-scan.t
index
5e28a70
..
f9236c4
100644
(file)
--- 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'
# 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($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'");
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
(file)
--- 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'
# 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') };
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'");
my $conn;
eval { $conn = new ZOOM::Connection($host, 0) };
ok(!$@, "connection to '$host'");