]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: Fix detection of nettest command in fcnal-test
authorDavid Ahern <dsahern@gmail.com>
Fri, 9 Aug 2019 23:13:38 +0000 (16:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Aug 2019 02:54:14 +0000 (19:54 -0700)
commitf887427b2cecfb57165f0207b33aed89dd29ab61
treebb9e67e4c0b86c7b0103906787b3be148c3ff1a2
parentf52ea3c55a4046054826b84de93f7814ce5ba23e
selftests: Fix detection of nettest command in fcnal-test

Most of the tests run by fcnal-test.sh relies on the nettest command.
Rather than trying to cover all of the individual tests, check for the
binary only at the beginning.

Also removes the need for log_error which is undefined.

Fixes: 6f9d5cacfe07 ("selftests: Setup for functional tests for fib and socket lookups")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fcnal-test.sh