summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-02-26 09:41:04 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-03-07 09:13:35 -0600
commitf3e6b18a4aa799d778ded7c952baeac6ae26ade0 (patch)
treeb1ab8ef558450080002b3fd46a21bd8c08df330b /testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn
parentsmptests: Add smpaffinity01 (diff)
downloadrtems-f3e6b18a4aa799d778ded7c952baeac6ae26ade0.tar.bz2
smptests: Add smppsxaffinity01.
This test exercises the ability to obtain and modify the affinity field of the POSIX thread attributes.
Diffstat (limited to 'testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn')
-rw-r--r--testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn b/testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn
new file mode 100644
index 0000000000..70bd6d31c8
--- /dev/null
+++ b/testsuites/smptests/smppsxaffinity01/smppsxaffinity01.scn
@@ -0,0 +1,11 @@
+*** SMP POSIX AFFINITY ATTRIBUTE TEST 1 ***
+Init - pthread_attr_setaffinity_np - Invalid attr - EFAULT
+Init - pthread_attr_setaffinity_np - Invalid attr - EFAULT
+Init - pthread_attr_setaffinity_np - Invalid cpusetsize - EINVAL
+Init - pthread_attr_setaffinity_np - No cpus in cpuset - EINVAL
+Init - pthread_attr_setaffinity_np - Too many cpus in cpuset - EINVAL
+Init - pthread_attr_getaffinity_np - Invalid attr - EFAULT
+Init - pthread_attr_getaffinity_np - Invalid attr - EFAULT
+Init - pthread_attr_getaffinity_np - Invalid cpusetsize - EINVAL
+Init - Validate pthread_attr_setaffinity_np and pthread_attr_getaffinity_np
+*** END OF SMP POSIX AFFINITY ATTRIBUTE TEST 1 ***