diff options
author | Frank Kühndel <frank.kuehndel@embedded-brains.de> | 2021-05-07 15:46:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-05-17 06:45:11 +0200 |
commit | a48b16af3a78dd06081320fa5e031cf2f9ac527e (patch) | |
tree | 9a48349e4b3184850bab7ae265db9f08705beb89 /spec/rtems/timer/req/reset.yml | |
parent | spec: Add spec item for rtems_timer_fire_after() (diff) | |
download | rtems-central-a48b16af3a78dd06081320fa5e031cf2f9ac527e.tar.bz2 |
spec: timer: Unset clock after test
This patch changes rtems_timer_cancel(), rtems_timer_reset() and
rtems_timer_fire_after() validation tests. It adds a call
to UnsetClock() in teardown to set the state of the system back
to where is was before the test.
In addition, in rtems_timer_fire_after() it fixes a typo in
pre-condition requirements.
Diffstat (limited to 'spec/rtems/timer/req/reset.yml')
-rw-r--r-- | spec/rtems/timer/req/reset.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/rtems/timer/req/reset.yml b/spec/rtems/timer/req/reset.yml index 6df3b4f8..6dd514ac 100644 --- a/spec/rtems/timer/req/reset.yml +++ b/spec/rtems/timer/req/reset.yml @@ -544,9 +544,11 @@ test-support: | } test-target: testsuites/validation/tc-timer-reset.c test-teardown: - brief: null + brief: Make sure the timer server is not running and the realtime clock + is not set after this test. code: | DeleteTimerServer(); + UnsetClock(); description: null text: ${.:text-template} transition-map: |