diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-06-01 23:08:21 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-06-01 23:20:35 +0100 |
commit | 70943b52befd3dfd0de276aebd5f771bbf4e6fbc (patch) | |
tree | dcb73ac8179521226626258d8f229ffa4a474619 /natsemi.c | |
parent | 2038e9ecde330cb82eb368725034b21d30de91fc (diff) | |
download | ethtool-70943b52befd3dfd0de276aebd5f771bbf4e6fbc.tar.gz |
test: Add test_ioctl() function to support a mock send_ioctl()
test_ioctl() verifies an ethtool ioctl structure and either returns a
canned response (if it was as expected) or aborts the test.
Adjust the file redirection in test_cmdline() so that test_ioctl() can
always print error messages.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'natsemi.c')
0 files changed, 0 insertions, 0 deletions