]> git.ipfire.org Git - thirdparty/iproute2.git/commit
testsuite: Fix tc/vlan.t test
authorAndrea Claudi <aclaudi@redhat.com>
Mon, 3 Jan 2022 18:00:22 +0000 (19:00 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 8 Jan 2022 18:13:18 +0000 (10:13 -0800)
commit1225e307102041fbadfd4e8f073c7e76e74d7561
treec4c7234c3dbd4d3c91c04926c9dac529b3d02167
parent4734fdb932a4be6b6d5ecc5c9a9199b85a2273bc
testsuite: Fix tc/vlan.t test

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>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
testsuite/tests/tc/vlan.t