Skip to content

Commit

Permalink
tests: fixed "IPv6 periodic RA"
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Acked-by: Ales Musil <amusil@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
(cherry picked from commit 660eff2)
  • Loading branch information
simonartxavier authored and dceara committed Jul 5, 2023
1 parent f14e7cc commit 74922b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -14329,7 +14329,7 @@ construct_expected_ra() {
local ip=60000000${ip_len}3aff${src_addr}${dst_addr}${icmp}
local eth=${dst_mac}${src_mac}86dd${ip}
local packet=${eth}
echo $packet >> expected
echo $packet | sort >> expected
}

ra_test() {
Expand All @@ -14340,7 +14340,7 @@ ra_test() {

OVS_WAIT_WHILE([test 24 = $(wc -c $i/vif1-tx.pcap | cut -d " " -f1)])

$PYTHON "$ovs_srcdir/utilities/ovs-pcap.in" $i/vif1-tx.pcap > packets
$PYTHON "$ovs_srcdir/utilities/ovs-pcap.in" $i/vif1-tx.pcap | sort | uniq > packets

cat expected | cut -c -112 > expout
AT_CHECK([cat packets | cut -c -112], [0], [expout])
Expand Down

0 comments on commit 74922b9

Please sign in to comment.