script/vomsserver.pl untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2  
3 use VOMS::Lite::VOMS;
4  
5 $VOMS::Lite::VOMS::DEBUG="yes";
6  
7 my $ref = VOMS::Lite::VOMS::Server ( {
8 Server => "0.0.0.0",
9 Port => "15050",
10 CertFile => "/etc/grid-security/hostcert.pem",
11 KeyFile => "/etc/grid-security/hostkey.pem",
12 # Inetd => 1, # uncomment me to use xinetd superserver instead of own sockets; use with care
13 mapfile => "/etc/grid-security/voms-mapfile"
14 } );
15  
16 foreach ( @{ ${$ref}{Errors} } ) {print "Error $_\n";}
17 foreach ( @{ ${$ref}{Warnings} } ) {print "Warnings $_\n";}
18  
19 __END__