summaryrefslogtreecommitdiffstats
path: root/tools
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
parent8284fd4cb85577eecca024fe1e7a35b39ed0f3f5 (diff)
downloadlinux-00d56229671b23f4cc459f96165dec41ef5988b4.tar.bz2
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 'tools')
-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
}