Skip to content

Commit c085dbf

Browse files
liuhangbindavem330
authored andcommitted
selftests/net/forwarding: define libs as TEST_PROGS_EXTENDED
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: 81573b1 ("selftests/net/forwarding: add Makefile to install tests") Signed-off-by: Hangbin Liu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 919a23e commit c085dbf

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

tools/testing/selftests/net/forwarding/Makefile

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ TEST_PROGS = bridge_igmp.sh \
55
bridge_sticky_fdb.sh \
66
bridge_vlan_aware.sh \
77
bridge_vlan_unaware.sh \
8-
devlink_lib.sh \
9-
ethtool_lib.sh \
108
ethtool.sh \
11-
fib_offload_lib.sh \
12-
forwarding.config.sample \
139
gre_inner_v4_multipath.sh \
1410
gre_inner_v6_multipath.sh \
1511
gre_multipath.sh \
@@ -21,8 +17,6 @@ TEST_PROGS = bridge_igmp.sh \
2117
ipip_hier_gre_key.sh \
2218
ipip_hier_gre_keys.sh \
2319
ipip_hier_gre.sh \
24-
ipip_lib.sh \
25-
lib.sh \
2620
loopback.sh \
2721
mirror_gre_bound.sh \
2822
mirror_gre_bridge_1d.sh \
@@ -32,15 +26,11 @@ TEST_PROGS = bridge_igmp.sh \
3226
mirror_gre_changes.sh \
3327
mirror_gre_flower.sh \
3428
mirror_gre_lag_lacp.sh \
35-
mirror_gre_lib.sh \
3629
mirror_gre_neigh.sh \
3730
mirror_gre_nh.sh \
3831
mirror_gre.sh \
39-
mirror_gre_topo_lib.sh \
4032
mirror_gre_vlan_bridge_1q.sh \
4133
mirror_gre_vlan.sh \
42-
mirror_lib.sh \
43-
mirror_topo_lib.sh \
4434
mirror_vlan.sh \
4535
router_bridge.sh \
4636
router_bridge_vlan.sh \
@@ -50,17 +40,12 @@ TEST_PROGS = bridge_igmp.sh \
5040
router_multipath.sh \
5141
router.sh \
5242
router_vid_1.sh \
53-
sch_ets_core.sh \
5443
sch_ets.sh \
55-
sch_ets_tests.sh \
56-
sch_tbf_core.sh \
57-
sch_tbf_etsprio.sh \
5844
sch_tbf_ets.sh \
5945
sch_tbf_prio.sh \
6046
sch_tbf_root.sh \
6147
tc_actions.sh \
6248
tc_chains.sh \
63-
tc_common.sh \
6449
tc_flower_router.sh \
6550
tc_flower.sh \
6651
tc_shblocks.sh \
@@ -72,4 +57,20 @@ TEST_PROGS = bridge_igmp.sh \
7257
vxlan_bridge_1q.sh \
7358
vxlan_symmetric.sh
7459

60+
TEST_PROGS_EXTENDED := devlink_lib.sh \
61+
ethtool_lib.sh \
62+
fib_offload_lib.sh \
63+
forwarding.config.sample \
64+
ipip_lib.sh \
65+
lib.sh \
66+
mirror_gre_lib.sh \
67+
mirror_gre_topo_lib.sh \
68+
mirror_lib.sh \
69+
mirror_topo_lib.sh \
70+
sch_ets_core.sh \
71+
sch_ets_tests.sh \
72+
sch_tbf_core.sh \
73+
sch_tbf_etsprio.sh \
74+
tc_common.sh
75+
7576
include ../../lib.mk

tools/testing/selftests/net/forwarding/ethtool_lib.sh

100755100644
File mode changed.

0 commit comments

Comments
 (0)