selftests: watchdog: Add gettimeleft command line arg
authorJerry Hoemann <jerry.hoemann@hpe.com>
Fri, 30 Nov 2018 17:35:41 +0000 (10:35 -0700)
committerShuah Khan <shuah@kernel.org>
Wed, 12 Dec 2018 21:01:59 +0000 (14:01 -0700)
commit6059c6b1d526d47c0b9f028e106f30ad539dc323
treea6f9208aa2f9892d02c814a5bce2515e5586ac6e
parentb708a3cc9600390ccaa2b68a88087dd265154b2b
selftests: watchdog: Add gettimeleft command line arg

Add command line argument to call and display the results
of ioctl WDIOC_GETTIMELEFT.

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