selftests/bpf: remove duplicated word from test offloads

Trivial removal of duplicated "mode" in error message.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
Jakub Kicinski 2018-07-10 14:42:55 -07:00 committed by Daniel Borkmann
parent d90c936fb3
commit 7479efc71f

View File

@ -830,7 +830,7 @@ try:
check_extack_nsim(err, "program loaded with different flags.", args) check_extack_nsim(err, "program loaded with different flags.", args)
ret, _, err = sim.unset_xdp("", force=True, ret, _, err = sim.unset_xdp("", force=True,
fail=False, include_stderr=True) fail=False, include_stderr=True)
fail(ret == 0, "Removed program with a bad mode mode") fail(ret == 0, "Removed program with a bad mode")
check_extack_nsim(err, "program loaded with different flags.", args) check_extack_nsim(err, "program loaded with different flags.", args)
start_test("Test MTU restrictions...") start_test("Test MTU restrictions...")