All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2] testsuite: Fix tc/vlan.t test
@ 2022-01-03 18:00 Andrea Claudi
  2022-01-08 19:40 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Claudi @ 2022-01-03 18:00 UTC (permalink / raw)
  To: netdev; +Cc: stephen, dsahern

Following commit 8323b20f1d76 ("net/sched: act_vlan: No dump for unset
priority"), the kernel no longer dump vlan priority if not explicitly
set before.

When modifying a vlan, tc/vlan.t test expects to find priority set to 0
without setting it explicitly. Thus, after 8323b20f1d76 this test fails.

Fix this simply removing the check on priority.

Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
---
 testsuite/tests/tc/vlan.t | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testsuite/tests/tc/vlan.t b/testsuite/tests/tc/vlan.t
index b86dc364..51529b2d 100755
--- a/testsuite/tests/tc/vlan.t
+++ b/testsuite/tests/tc/vlan.t
@@ -50,7 +50,6 @@ test_on "vlan"
 test_on "modify"
 test_on "id 5"
 test_on "protocol 802.1Q"
-test_on "priority 0"
 test_on "pipe"
 
 reset_qdisc
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-08 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 18:00 [PATCH iproute2] testsuite: Fix tc/vlan.t test Andrea Claudi
2022-01-08 19:40 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.