On Wed, Mar 25, 2020 at 12:26:33PM +0200, Vadym Kochan wrote:
Hi Hangbin Liu,
On Wed, Mar 25, 2020 at 04:41:01PM +0800, Hangbin Liu wrote:
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
Thanks for fixing it, sorry for my mistake. Actually forwarding tests requires interfaces list as runtime parameter or if it is defined in forwarding.config file, so may be they should not run by run_kselftest at all and only added via TEST_PROGS_EXTENDED ?
Before I run forwarding test, I usually do `cp forwarding.config.sample forwarding.config` first. I think the runner should aware of this.
Thanks Hangbin