freebsd-ports/net-mgmt/net-snmp/files/test.t
Jun Kuriyama de310693e8 - Upgrade to 5.2.2.
- Return more appropriate values for hrSWRunType (1)

PR:		ports/86572 (1)
Submitted by:	wollman (1)
2005-11-30 05:22:40 +00:00

12 lines
220 B
Perl

#!/usr/bin/perl -w
#
# $FreeBSD$
use strict;
use Test::More tests => 1;
my $cmd = 'snmpwalk -c public -v 1 localhost';
# ports/86572
my $output = `$cmd hrSWRunType`;
like($output, qr/operatingSystem/, 'hrSWRunType');