v4: - Replace hardcoded ping rate of 1 with DEFAULT_PING_RATE - Supplement ioctl failure messages with strerror(errno) v3: - Fix checkpatch.pl --strict --max-line-length=120 -f watchdog-test.c - Switch from manual argv[] parsing to getopt() - Include minor fixes - Convert `--bootstatus` into a "oneshot" command (skip keepalive loop) v2: - Fix segmentation fault caused by a previous commit. - Don't break processing of other arguments when passing `-s`. Eugeniu Rosca (6): selftests: watchdog: fix mixed whitespace selftests: watchdog: use getopt_long() selftests: watchdog: prefer strtoul() over atoi() selftests: watchdog: point out ioctl() failures selftests: watchdog: avoid keepalive flood selftests: watchdog: get boot reason via WDIOC_GETBOOTSTATUS tools/testing/selftests/watchdog/watchdog-test.c | 190 ++++++++++++++--------- 1 file changed, 119 insertions(+), 71 deletions(-) -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html