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

* Re: [PATCH iproute2] testsuite: Fix tc/vlan.t test
  2022-01-03 18:00 [PATCH iproute2] testsuite: Fix tc/vlan.t test Andrea Claudi
@ 2022-01-08 19:40 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-01-08 19:40 UTC (permalink / raw)
  To: Andrea Claudi; +Cc: netdev, stephen, dsahern

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Mon,  3 Jan 2022 19:00:22 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [iproute2] testsuite: Fix tc/vlan.t test
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=1225e3071020

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[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.