test/napi-test: turn into a test case

- Have napi-test.t invoke the shell script if no arguments are passed
- Have napi-test.sh test with various queue flags
- Add description
- Remove some unneeded includes
- Have connect retry if we get ECONNREFUSED, probably racing with
  receiver setting up. Timeout after 1 second.
- Register napi instance
- Test for root, can't work as a normal user
- Test for ip and ethtool, and skip if not available

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2 files changed