summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/test.t
blob: cca9d9ed41915f86f4276356605ec5d4271fecf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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');