summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-06-01 01:37:44 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-04 17:08:44 +0300
commit00d56229671b23f4cc459f96165dec41ef5988b4 (patch)
treec0ed4f33820cc0d28e48b36ae2ccf3a103a2835f /tools/testing
parent8284fd4cb85577eecca024fe1e7a35b39ed0f3f5 (diff)
downloadlinux-00d56229671b23f4cc459f96165dec41ef5988b4.tar.xz
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/testing')
-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
}