selftests/watchdog: add test for WDIOC_GETTEMP
authorShuah Khan <skhan@linuxfoundation.org>
Fri, 21 Oct 2022 21:51:16 +0000 (15:51 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 26 Oct 2022 03:27:42 +0000 (21:27 -0600)
commitec7b4511185bba95fc702c33a388582c8842d454
tree9d356d20b3d2a73e687c819b199a21c6add32221
parent8856f710ed00d974ce20e9894ba2a5e02fe90542
selftests/watchdog: add test for WDIOC_GETTEMP

Add test for WDIOC_GETTEMP and this ioctl might not be supported by some
devices and if it is this test will print the following message:

Inappropriate ioctl for device

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/watchdog/watchdog-test.c