aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-06-04 10:08:46 -0400
committerDavid S. Miller <davem@davemloft.net>2018-06-04 10:08:46 -0400
commit1ec23c5407f1f901b64cb9b7549a2ba4a36d613e (patch)
tree6408c3d2b5ee92f205ca5fca9bcbefb9cd546e81 /tools
parent8284fd4cb85577eecca024fe1e7a35b39ed0f3f5 (diff)
parent6ebe5a7a66ebd78f83fdd231a1d50bfc7a93598e (diff)
Merge branch 'selftests-mirror_vlan-fixes'
Petr Machata says: ==================== selftests: forwarding: mirror_vlan: Fixlets This patchset includes two small fixes for the tests that were introduced in commit 1bb58d2d3cbe ("Merge branch 'Mirroring-tests-involving-VLAN'"). In patch #1, a "tc action trap" is uninstalled after the suite runs, instead of being installed again. In patch #2, a test in suite is renamed to differentiate it from another test of the same name. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/net/forwarding/mirror_vlan.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/forwarding/mirror_vlan.sh b/tools/testing/selftests/net/forwarding/mirror_vlan.sh
index 20b37a53657e..9ab2ce77b332 100755
--- a/tools/testing/selftests/net/forwarding/mirror_vlan.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_vlan.sh
@@ -91,7 +91,7 @@ test_tagged_vlan_dir()
91 192.0.2.17 192.0.2.18 91 192.0.2.17 192.0.2.18
92 mirror_uninstall $swp1 $direction 92 mirror_uninstall $swp1 $direction
93 93
94 log_test "$direction mirror to vlan ($tcflags)" 94 log_test "$direction mirror tagged to vlan ($tcflags)"
95} 95}
96 96
97test_tagged_vlan() 97test_tagged_vlan()
@@ -108,7 +108,7 @@ test_all()
108 108
109 tests_run 109 tests_run
110 110
111 trap_install $h3 ingress 111 trap_uninstall $h3 ingress
112 slow_path_trap_uninstall $swp1 egress 112 slow_path_trap_uninstall $swp1 egress
113 slow_path_trap_uninstall $swp1 ingress 113 slow_path_trap_uninstall $swp1 ingress
114} 114}