selftests: watchdog: Add gettimeout and get|set pretimeout
authorJerry Hoemann <jerry.hoemann@hpe.com>
Wed, 26 Sep 2018 21:23:09 +0000 (15:23 -0600)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 24 Oct 2018 20:49:36 +0000 (14:49 -0600)
commit7514c39cf1d9433203c9b7c6674dbfa429db804b
tree9971549c08f6226f8c2c7c82dfd4de8e81fda26e
parent04d5e4bd37516ad60854eb74592c7dbddd75d277
selftests: watchdog: Add gettimeout and get|set pretimeout

Add command line arguments to call ioctl WDIOC_GETTIMEOUT,
WDIOC_GETPRETIMEOUT and WDIOC_SETPRETIMEOUT.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/watchdog/watchdog-test.c