diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-09 15:04:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-09 15:04:03 +0000 |
commit | f3ddd7ba9394318448874a8a76625356c15d454f (patch) | |
tree | 38819e15eb84064694ba1c1b57580283b12a6bbd /testsuites | |
parent | 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-f3ddd7ba9394318448874a8a76625356c15d454f.tar.bz2 |
2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel01/init.c: Initialize start time.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psxcancel01/init.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 8c8851c1d9..d6051f4959 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,5 +1,9 @@ 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> + * psxcancel01/init.c: Initialize start time. + +2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> + * psxmsgq01/init.c, psxsem01/init.c: Add service to check status returned by POSIX methods which return a pointer which is -1 on error. This eliminated some casts. diff --git a/testsuites/psxtests/psxcancel01/init.c b/testsuites/psxtests/psxcancel01/init.c index 72f95b1c10..f09d127f8a 100644 --- a/testsuites/psxtests/psxcancel01/init.c +++ b/testsuites/psxtests/psxcancel01/init.c @@ -65,6 +65,7 @@ void doit( status = rtems_timer_fire_after( timer_id, 10, TSR, NULL ); assert( !status ); + start = rtems_clock_get_ticks_since_boot(); do { end = rtems_clock_get_ticks_since_boot(); } while ( !TSR_occurred && ((end - start) <= 800)); |