summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp67/sp67.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-10 15:03:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-10-10 15:03:30 +0000
commitc257fb9ed5310b06d85dee2cf0ffb98b42acd3a1 (patch)
treebf7e2b5f385572b184261e1433f5605298c0cf7a /testsuites/sptests/sp67/sp67.scn
parent2009-10-09 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-c257fb9ed5310b06d85dee2cf0ffb98b42acd3a1.tar.bz2
2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise when the ticks since boot wraps around 0 and the timer server must deal with that condition. * sp67/.cvsignore, sp67/Makefile.am, sp67/init.c, sp67/sp67.doc, sp67/sp67.scn: New files.
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/sp67/sp67.scn8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/sptests/sp67/sp67.scn b/testsuites/sptests/sp67/sp67.scn
new file mode 100644
index 0000000000..77296fc538
--- /dev/null
+++ b/testsuites/sptests/sp67/sp67.scn
@@ -0,0 +1,8 @@
+*** TEST 67 ***
+Init - create timer 1
+Init - create timer 2
+Init - Initiate the timer server
+hit snapshot=10 ticks=-91
+hit snapshot=20 ticks=-181
+Server Timer 1 fired after wrapping ticks since boot-- OK
+*** END OF TEST 67 ***