selftests/watchdog: mention temperature in status help
PATCH 1/1 selftests/watchdog: mention temperature in status help
From: mattsu <[email protected]>
The status option already exercises WDIOC_GETTEMP, but the usage text does not mention that it also reports temperature. The file header also contains a stale TODO for adding WDIOC_GETTEMP coverage.
Mention temperature in the status option help and remove the stale TODO.
Signed-off-by mattsu <[email protected]>
--- tools/testing/selftests/watchdog/watchdog-test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
tools/testing/selftests/watchdog/watchdog-test.c +1 -3
@@ -5,8 +5,6 @@* - Tests Magic Close - CONFIG_WATCHDOG_NOWAYOUT * - Could be tested against softdog driver on systems that * don't have watchdog hardware. -* - TODO: -* - Enhance test to add coverage for WDIOC_GETTEMP. * * Reference: Documentation/watchdog/watchdog-api.rst */
@@ -83,7 +81,7 @@ static void usage(char *progname)printf (" -f, --file\t\tOpen watchdog device file\n" );printf ("\t\t\tDefault is /dev/watchdog\n" );printf (" -i, --info\t\tShow watchdog_info\n" ); -printf (" -s, --status\t\tGet status & supported features\n" ); +printf (" -s, --status\t\tGet status, supported features, and temperature\n" );printf (" -b, --bootstatus\tGet last boot status (Watchdog/POR)\n" );printf (" -d, --disable\t\tTurn off the watchdog timer\n" );printf (" -e, --enable\t\tTurn on the watchdog timer\n" );
Signature · 1 line
2.54.0