summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxcancel01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-09 15:04:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-09 15:04:03 +0000
commitf3ddd7ba9394318448874a8a76625356c15d454f (patch)
tree38819e15eb84064694ba1c1b57580283b12a6bbd /testsuites/psxtests/psxcancel01
parent2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-f3ddd7ba9394318448874a8a76625356c15d454f.tar.bz2
2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel01/init.c: Initialize start time.
Diffstat (limited to 'testsuites/psxtests/psxcancel01')
-rw-r--r--testsuites/psxtests/psxcancel01/init.c1
1 files changed, 1 insertions, 0 deletions
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));