File: party-test.pl

package info (click to toggle)
libsnmp-session-perl 1.14~git20221124T101957-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,104 kB
  • sloc: perl: 11,920; ansic: 25; makefile: 15
file content (15 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/local/bin/perl
######################################################################
# Check that we can read the CMU SNMPv2 party definition file in
# /etc/party.conf.  Describe the party named "zeusmd5".  This is
# basically intended as a regression test for the party-parsing code.
######################################################################

require 5;

require 'Party.pm';

Party::read_cmu_party_database('/etc/party.conf');
Party->find ('zeusmsmd5')->describe (STDERR);

1;