aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/forwarding/mirror_vlan.sh
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-06-01 00:37:44 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-04 10:08:44 -0400
commit00d56229671b23f4cc459f96165dec41ef5988b4 (patch)
treec0ed4f33820cc0d28e48b36ae2ccf3a103a2835f /tools/testing/selftests/net/forwarding/mirror_vlan.sh
parentMerge branch 'selftests-net-various' (diff)
downloadlinux-dev-00d56229671b23f4cc459f96165dec41ef5988b4.tar.xz
linux-dev-00d56229671b23f4cc459f96165dec41ef5988b4.zip
selftests: forwarding: mirror_vlan: Uninstall trap
Instead of installing a trap before tests run and uninstalling it after they run, mirror_vlan.sh installs it twice due to a typo. Fix the typo. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rwxr-xr-xtools/testing/selftests/net/forwarding/mirror_vlan.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/forwarding/mirror_vlan.sh b/tools/testing/selftests/net/forwarding/mirror_vlan.sh
index 20b37a53657e..f7124038b6c1 100755
--- a/tools/testing/selftests/net/forwarding/mirror_vlan.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_vlan.sh
@@ -108,7 +108,7 @@ test_all()
tests_run
- trap_install $h3 ingress
+ trap_uninstall $h3 ingress
slow_path_trap_uninstall $swp1 egress
slow_path_trap_uninstall $swp1 ingress
}