1% Regression tests for the avs module
2
3+ Basic CARP test
4
5= Build
6
7pkt = Ether()/IP()/CARP()
8pkt = Ether(raw(pkt))
9assert CARP in pkt
10assert pkt[CARP].chksum
11assert pkt[CARP].build_hmac_sha1(ip4l=['192.168.0.111']) == b'\xbd\x82\xc7\x8f6\x1a\x0e\xff\xcfl\x14\xa2v\xedW;>ic\xa3'
12