Skip to content

Commit

Permalink
tmp test long hex strings
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed Jun 29, 2020
1 parent 5bf300c commit 3816e04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions snmpproxy/requester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ Compiled Thu 21-Jul-11 02:22 by prod_rel_team`,
".1.3.6.1.2.1.31.1.1.1.15.1000001", uint(100000),
".1.3.6.1.2.1.31.1.1.1.15.1000003", uint(60000),
".1.3.6.1.2.1.31.1.1.1.15.1000005", uint(80000),
".1.3.6.1.2.1.47.1.1.1.1.13.30", "4E 4D 2D 33 32 41 20 20 20 20 20 20 20 20 20 20 20 20 FF FF FF FF FF FF FF",
".1.3.6.1.6.3.10.2.1.3.0", 2937024,
},
result,
Expand Down
3 changes: 3 additions & 0 deletions snmpproxy/test_data/public.snmprec
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
1.3.6.1.2.1.31.1.1.1.15.1000003|66|60000
1.3.6.1.2.1.31.1.1.1.15.1000005|66|80000

# model name may contain long Hex-STRING (test that LF is not present in the parsed value)
1.3.6.1.2.1.47.1.1.1.1.13.30|4x|4e4d2d333241202020202020202020202020ffffffffffffff

# SNMP engine time
1.3.6.1.6.3.10.2.1.3.0|2|2937024

Expand Down

0 comments on commit 3816e04

Please sign in to comment.