summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/test.t
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/test.t')
-rw-r--r--net-mgmt/net-snmp-devel/files/test.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/test.t b/net-mgmt/net-snmp-devel/files/test.t
new file mode 100644
index 000000000000..cca9d9ed4191
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/test.t
@@ -0,0 +1,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');