aboutsummaryrefslogtreecommitdiff
path: root/net/p5-SNMP/files/patch-mib.t
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-SNMP/files/patch-mib.t')
-rw-r--r--net/p5-SNMP/files/patch-mib.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/p5-SNMP/files/patch-mib.t b/net/p5-SNMP/files/patch-mib.t
new file mode 100644
index 000000000000..9afe0bf961dd
--- /dev/null
+++ b/net/p5-SNMP/files/patch-mib.t
@@ -0,0 +1,18 @@
+--- t/mib.t.orig Tue Jan 11 07:21:08 2000
++++ t/mib.t Fri Jan 12 10:25:44 2001
+@@ -147,13 +147,13 @@
+ ###################### 15 #########################
+ $res = $SNMP::MIB{atNetAddress}{nextNode};
+ #print("res is --> $res\n");
+-ok($res =~ /^HASH/);
++ok(ref $res eq "HASH");
+ #print("\n");
+
+ ######################## 16 #########################
+ $res = $SNMP::MIB{sysDescr}{children};
+ #print("res is --> $res\n");
+-ok($res =~ /^ARRAY/);
++ok(ref $res eq "ARRAY");
+ #print("\n");
+ #################### 17 #########################
+