Repository navigation
Commit 5ba4dfb
selftests: Add duplicate config only for MD5 VRF tests
[ Upstream commit 7e01475 ]
Commit referenced below added configuration in the default VRF that
duplicates a VRF to check MD5 passwords are properly used and fail
when expected. That config should not be added all the time as it
can cause tests to pass that should not (by matching on default VRF
setup when it should not). Move the duplicate setup to a function
that is only called for the MD5 tests and add a cleanup function
to remove it after the MD5 tests.
Fixes: 5cad8bc ("fcnal-test: Add TCP MD5 tests for VRF")
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 12512bc commit 5ba4dfb
1 file changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
449 | 465 | | |
450 | 466 | | |
451 | 467 | | |
| |||
475 | 491 | | |
476 | 492 | | |
477 | 493 | | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | 494 | | |
485 | 495 | | |
486 | 496 | | |
| |||
1177 | 1187 | | |
1178 | 1188 | | |
1179 | 1189 | | |
| 1190 | + | |
1180 | 1191 | | |
| 1192 | + | |
1181 | 1193 | | |
1182 | 1194 | | |
1183 | 1195 | | |
| |||
2656 | 2668 | | |
2657 | 2669 | | |
2658 | 2670 | | |
| 2671 | + | |
2659 | 2672 | | |
| 2673 | + | |
2660 | 2674 | | |
2661 | 2675 | | |
2662 | 2676 | | |
| |||
0 commit comments