]> git.baikalelectronics.ru Git - kernel.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)
commit8716e959ed14ec976b0831d392178afbc6f66f87
treebb9e67e4c0b86c7b0103906787b3be148c3ff1a2
parentceb60b17c577b6a983ba12a897cb61c6578fd974
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: 8c96445aa625 ("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