X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FPing.pm;h=6186c62f42b42cf5f09c55ed46e09eca4475f39c;hb=66666cfa0fddff90e08c9e282cff62ba23dee3da;hp=8fdfea890c5871bacec684ec33bf42d7b2069777;hpb=68baae39f76d2a37e3ade10aa37d974f93653567;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index 8fdfea8..6186c62 100644 --- a/lib/ZOOM/IRSpy/Test/Ping.pm +++ b/lib/ZOOM/IRSpy/Test/Ping.pm @@ -1,4 +1,4 @@ -# $Id: Ping.pm,v 1.17 2006-12-06 12:58:06 mike Exp $ +# $Id: Ping.pm,v 1.19 2007-01-20 09:53:40 mike Exp $ # See the "Main" test package for documentation @@ -44,11 +44,19 @@ sub maybe_connected { encapsulation resultCount negotiationModel duplicationDetection queryType104 pQESCorrection stringSchema)) { + #print STDERR "\$conn->option('init_opt_$opt') = '", $conn->option("init_opt_$opt"), "'\n"; $conn->record()->store_result('init_opt', option => $opt) if $conn->option("init_opt_$opt"); } + + foreach my $opt (qw(serverImplementationId + serverImplementationName + serverImplementationVersion)) { + $conn->record()->store_result($opt, value => $conn->option($opt)); + } } + return $ok ? ZOOM::IRSpy::Status::TEST_GOOD : ZOOM::IRSpy::Status::TEST_BAD; }