Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mico Micic authored and olofhagsand committed Feb 29, 2024
1 parent 891b0b0 commit d40cfdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_snmp_get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ new "Test SNMP get nsIETFWGName"
validate_oid $OID15 $OID15 "INTEGER" 42

new "Test SNMP getnext nsIETFWGName"
expectpart "$($snmpgetnext $OID15)" 0 "Hex-STRING: 4E 61 6D 65 31 00"
expectpart "$($snmpgetnext $OID15)" 0 "STRING: \"Name1\""

new "Test SNMP getnext netSnmpHostsTable"
expectpart "$($snmpgetnext $OID18)" 0 "$OID19 = Hex-STRING: 74 65 73 74 00"
expectpart "$($snmpgetnext $OID18)" 0 "$OID19 = STRING: \"test\""

new "Test SNMP get netSnmpHostName"
expectpart "$($snmpget $OID19)" 0 "$OID19 = Hex-STRING: 74 65 73 74 00"
expectpart "$($snmpget $OID19)" 0 "$OID19 = STRING: \"test\""

new "Test SNMP getnext netSnmpHostName"
expectpart "$($snmpgetnext $OID19)" 0 "$OID20 = INTEGER: 1"
Expand Down

0 comments on commit d40cfdc

Please sign in to comment.