Skip to content
Commit 4041a250 authored by Sebastian Głąb's avatar Sebastian Głąb Committed by Fabio Baltieri
Browse files

tests: drivers: watchdog: wdt_error_cases: Add test scenario



Add test scenario that verifies correct error code
returned by wdt_setup() when called just after wdt_disable().

Scenario:
- configure WDT timeout;
- start WDT by calling wdt_setup();
- remove all WDT timeouts by calling wdt_disable();
- confirm wdt_setup() returns error code due to lack
  of configured WDT timeouts.

Signed-off-by: default avatarSebastian Głąb <sebastian.glab@nordicsemi.no>
parent 319a8867
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment