Menu

[r5552]: / experimental / net-snmp / files / test.t  Maximize  Restore  History

Download this file

13 lines (9 with data), 298 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/usr/bin/perl -w
#
# $FreeBSD: ports/net-mgmt/net-snmp/files/test.t,v 1.1 2005/11/30 05:22:40 kuriyama Exp $
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');
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.