X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FPing.pm;h=31b7f4d30296d8f3e9c58e7b5e95643bc0927598;hp=12c3455231ae87c4a14b8d60dc20fec331396d43;hb=8d22b67928c9e2d65e90308dd7560dcd1d4d797a;hpb=8981e1a0eee6d151235e3581612df9282dfe8ac6 diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index 12c3455..31b7f4d 100644 --- a/lib/ZOOM/IRSpy/Test/Ping.pm +++ b/lib/ZOOM/IRSpy/Test/Ping.pm @@ -1,4 +1,3 @@ -# $Id: Ping.pm,v 1.25 2007-05-04 12:09:58 mike Exp $ # See the "Main" test package for documentation @@ -25,9 +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"); - warn "user='$user', password='$password'\n"; - $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, @@ -90,7 +88,7 @@ sub connected { 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(),