[rtems commit] ada/sp09: Fix timer server test case

Sebastian Huber sebh at rtems.org
Mon Dec 4 09:54:47 UTC 2017


Module:    rtems
Branch:    master
Commit:    3d7d2a37e6f9da4b75a86ce5336a6e23990b075b
Changeset: http://git.rtems.org/rtems/commit/?id=3d7d2a37e6f9da4b75a86ce5336a6e23990b075b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Dec  4 10:52:01 2017 +0100

ada/sp09: Fix timer server test case

A priority of zero is valid for the timer server.

---

 testsuites/ada/sptests/sp09/sptest.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/ada/sptests/sp09/sptest.adb b/testsuites/ada/sptests/sp09/sptest.adb
index 8390ab4..519d0ad 100644
--- a/testsuites/ada/sptests/sp09/sptest.adb
+++ b/testsuites/ada/sptests/sp09/sptest.adb
@@ -2828,7 +2828,7 @@ package body SPTEST is
       );
       TEXT_IO.PUT_LINE( "TA1 - timer_server_fire_when - INCORRECT_STATE" );
 
-      RTEMS.TIMER.INITIATE_SERVER( 0, 0, 0, STATUS );
+      RTEMS.TIMER.INITIATE_SERVER( 16#80000000#, 0, 0, STATUS );
       TEST_SUPPORT.FATAL_DIRECTIVE_STATUS(
         STATUS,
         RTEMS.INVALID_PRIORITY,




More information about the vc mailing list