projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Search::Bath to Search::Main test.
[irspy-moved-to-github.git]
/
lib
/
ZOOM
/
IRSpy
/
Test
/
Ping.pm
diff --git
a/lib/ZOOM/IRSpy/Test/Ping.pm
b/lib/ZOOM/IRSpy/Test/Ping.pm
index
4251b59
..
2a97594
100644
(file)
--- a/
lib/ZOOM/IRSpy/Test/Ping.pm
+++ b/
lib/ZOOM/IRSpy/Test/Ping.pm
@@
-1,4
+1,3
@@
-# $Id: Ping.pm,v 1.26 2007-05-08 12:18:59 mike Exp $
# See the "Main" test package for documentation
# See the "Main" test package for documentation
@@
-14,7
+13,7
@@
our @ISA = qw(ZOOM::IRSpy::Test);
use ZOOM::IRSpy::Utils qw(isodate);
use Text::Iconv;
use ZOOM::IRSpy::Utils qw(isodate);
use Text::Iconv;
-my $conv = new Text::Iconv("LATIN1", "UTF8");
+my $conv = new Text::Iconv("LATIN1", "UTF-8");
sub start {
sub start {
@@
-25,8
+24,8
@@
sub start {
my $xc = $conn->record()->xpath_context();
my $user = $xc->find("e:serverInfo/e:authentication/e:user");
my $password = $xc->find("e:serverInfo/e:authentication/e:password");
my $xc = $conn->record()->xpath_context();
my $user = $xc->find("e:serverInfo/e:authentication/e:user");
my $password = $xc->find("e:serverInfo/e:authentication/e:password");
- $options{user} = $user if $user;
- $options{password} = $password if $password;
+ $options{"*user"} = $user if $user;
+ $options{"*password"} = $password if $password;
$conn->irspy_connect(undef, \%options,
ZOOM::Event::ZEND, \&connected,
$conn->irspy_connect(undef, \%options,
ZOOM::Event::ZEND, \&connected,
@@
-89,7
+88,7
@@
sub connected {
sub not_connected {
my($conn, $__UNUSED_task, $__UNUSED_udata, $exception) = @_;
sub not_connected {
my($conn, $__UNUSED_task, $__UNUSED_udata, $exception) = @_;
- $conn->log("irspy_test", "not connected: $exception");
+ $conn->log("irspy", "not connected: $exception");
$conn->record()->store_result("probe",
ok => 0,
errcode => $exception->code(),
$conn->record()->store_result("probe",
ok => 0,
errcode => $exception->code(),