selftests/net/forwarding: define libs as TEST_PROGS_EXTENDED
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 25 Mar 2020 08:41:01 +0000 (16:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2020 19:01:18 +0000 (12:01 -0700)
The lib files should not be defined as TEST_PROGS, or we will run them
in run_kselftest.sh.

Also remove ethtool_lib.sh exec permission.

Fixes: 81573b18f26d ("selftests/net/forwarding: add Makefile to install tests")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/Makefile
tools/testing/selftests/net/forwarding/ethtool_lib.sh [changed mode: 0755->0644]

index 44616103508b0bd2e3067934e4e2f0ca9a9072fb..250fbb2d1625209a82768608e3c9764d3fc63e18 100644 (file)
@@ -5,11 +5,7 @@ TEST_PROGS = bridge_igmp.sh \
        bridge_sticky_fdb.sh \
        bridge_vlan_aware.sh \
        bridge_vlan_unaware.sh \
-       devlink_lib.sh \
-       ethtool_lib.sh \
        ethtool.sh \
-       fib_offload_lib.sh \
-       forwarding.config.sample \
        gre_inner_v4_multipath.sh \
        gre_inner_v6_multipath.sh \
        gre_multipath.sh \
@@ -21,8 +17,6 @@ TEST_PROGS = bridge_igmp.sh \
        ipip_hier_gre_key.sh \
        ipip_hier_gre_keys.sh \
        ipip_hier_gre.sh \
-       ipip_lib.sh \
-       lib.sh \
        loopback.sh \
        mirror_gre_bound.sh \
        mirror_gre_bridge_1d.sh \
@@ -32,15 +26,11 @@ TEST_PROGS = bridge_igmp.sh \
        mirror_gre_changes.sh \
        mirror_gre_flower.sh \
        mirror_gre_lag_lacp.sh \
-       mirror_gre_lib.sh \
        mirror_gre_neigh.sh \
        mirror_gre_nh.sh \
        mirror_gre.sh \
-       mirror_gre_topo_lib.sh \
        mirror_gre_vlan_bridge_1q.sh \
        mirror_gre_vlan.sh \
-       mirror_lib.sh \
-       mirror_topo_lib.sh \
        mirror_vlan.sh \
        router_bridge.sh \
        router_bridge_vlan.sh \
@@ -50,17 +40,12 @@ TEST_PROGS = bridge_igmp.sh \
        router_multipath.sh \
        router.sh \
        router_vid_1.sh \
-       sch_ets_core.sh \
        sch_ets.sh \
-       sch_ets_tests.sh \
-       sch_tbf_core.sh \
-       sch_tbf_etsprio.sh \
        sch_tbf_ets.sh \
        sch_tbf_prio.sh \
        sch_tbf_root.sh \
        tc_actions.sh \
        tc_chains.sh \
-       tc_common.sh \
        tc_flower_router.sh \
        tc_flower.sh \
        tc_shblocks.sh \
@@ -72,4 +57,20 @@ TEST_PROGS = bridge_igmp.sh \
        vxlan_bridge_1q.sh \
        vxlan_symmetric.sh
 
+TEST_PROGS_EXTENDED := devlink_lib.sh \
+       ethtool_lib.sh \
+       fib_offload_lib.sh \
+       forwarding.config.sample \
+       ipip_lib.sh \
+       lib.sh \
+       mirror_gre_lib.sh \
+       mirror_gre_topo_lib.sh \
+       mirror_lib.sh \
+       mirror_topo_lib.sh \
+       sch_ets_core.sh \
+       sch_ets_tests.sh \
+       sch_tbf_core.sh \
+       sch_tbf_etsprio.sh \
+       tc_common.sh
+
 include ../../lib.mk