Skip to content

Commit

Permalink
selftests: forwarding: Fix spelling mistake "succeded" -> "succeeded"
Browse files Browse the repository at this point in the history
There are two spelling mistakes in check_fail messages. Fix them.

Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
Colin Ian King authored and kuba-moo committed Jan 20, 2021
1 parent c2e315b commit eaaf611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/net/forwarding/tc_chains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ template_filter_fits()

tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \
flower src_mac $h2mac action drop &> /dev/null
check_fail $? "Incorrectly succeded to insert filter which does not template"
check_fail $? "Incorrectly succeeded to insert filter which does not template"

tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
flower src_mac $h2mac action drop
check_err $? "Failed to insert filter which fits template"

tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1102 \
flower dst_mac $h2mac action drop &> /dev/null
check_fail $? "Incorrectly succeded to insert filter which does not template"
check_fail $? "Incorrectly succeeded to insert filter which does not template"

tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1102 \
flower &> /dev/null
Expand Down

0 comments on commit eaaf611

Please sign in to comment.