summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spassoc01/spassoc01.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-07 14:16:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-07 14:16:55 +0000
commit4479b373d9cdb70724b3f7b7c7a345801c2104bf (patch)
tree3a7c3b2068f4355edbcd67b56fe6e22c553dabc5 /testsuites/sptests/spassoc01/spassoc01.scn
parent2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-4479b373d9cdb70724b3f7b7c7a345801c2104bf.tar.bz2
2010-07-07 Bharath Suri <bharath.s.jois@gmail.com>
PR 1603/testing * spassoc01/init.c, spassoc01/Makefile.am, spassoc01/spassoc01.doc, spassoc01/spassoc01.scn: Added new test. * Makefile.am, configure.ac: Added new test spassoc01 for rtems_assoc routines.
Diffstat (limited to 'testsuites/sptests/spassoc01/spassoc01.scn')
-rw-r--r--testsuites/sptests/spassoc01/spassoc01.scn38
1 files changed, 38 insertions, 0 deletions
diff --git a/testsuites/sptests/spassoc01/spassoc01.scn b/testsuites/sptests/spassoc01/spassoc01.scn
new file mode 100644
index 0000000000..16d66061fd
--- /dev/null
+++ b/testsuites/sptests/spassoc01/spassoc01.scn
@@ -0,0 +1,38 @@
+*** TEST ASSOC ROUTINES - 1 ***
+Init - get local by name -- OK
+Init - get local by name -- expect 0
+Init - get local by remote bitfield -- OK
+Init - get local by remote bitfield -- expect 0
+Init - get local by remote -- OK
+Init - get local by remote -- expect 0
+Init - get name by local bitfield -- OK
+Init - get name by local bitfield -- OK
+Init - get name by local bitfield -- expect""
+Init - get name by local -- OK
+Init - get name by local -- using bad value
+<assocnamebad.c: : BAD NAME>
+Init - get name by remote bitfield -- OK
+Init - get name by remote bitfield -- OK
+Init - get name by remote bitfield -- expect""
+Init - get name by remote -- OK
+Init - get name by remote -- using bad value
+<assocnamebad.c: : BAD NAME>
+Init - get ptr by local -- OK
+Init - get ptr by local -- expect NULL
+Init - get ptr by remote -- OK
+Init - get ptr by remote -- expect NULL
+Init - get ptr by name -- OK
+Init - get ptr by name -- expect NULL
+Init - get remote by local bitfield -- OK
+Init - get remote by local bitfield -- expect 0
+Init - get remote by local -- OK
+Init - get remote by local -- expect 0
+Init - get remote by name -- OK
+Init - get remote by name -- expect 0
+Init - get ptr by name -- expect (default)
+Init - get ptr by local -- expect (default)
+Init - get ptr by remote -- expect (default)
+Init - get ptr by name -- expect NULL
+Init - get ptr by local -- expect NULL
+Init - get ptr by remote -- expect NULL
+*** END OF TEST ASSOC ROUTINES - 1 ***