diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-02-26 09:57:16 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-03-07 09:14:33 -0600 |
commit | 2ef0328958488ab47c31c7af4a2e87f9729f700c (patch) | |
tree | 98494971abd2a384c01689124e4d652568a60654 /testsuites/smptests/smppsxaffinity02/smppsxaffinity02.scn | |
parent | smptests: Add smppsxaffinity01. (diff) | |
download | rtems-2ef0328958488ab47c31c7af4a2e87f9729f700c.tar.bz2 |
smptests: Add smppsxaffinity02.
This method exercises the ability to dynamically get and set
the affinity of POSIX threads.
NOTE: There is no scheduler support for affinity. This is
simply a data integrity test.
Diffstat (limited to 'testsuites/smptests/smppsxaffinity02/smppsxaffinity02.scn')
-rw-r--r-- | testsuites/smptests/smppsxaffinity02/smppsxaffinity02.scn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuites/smptests/smppsxaffinity02/smppsxaffinity02.scn b/testsuites/smptests/smppsxaffinity02/smppsxaffinity02.scn new file mode 100644 index 0000000000..7f3d3f9597 --- /dev/null +++ b/testsuites/smptests/smppsxaffinity02/smppsxaffinity02.scn @@ -0,0 +1,17 @@ +*** SMP POSIX AFFINITY ATTRIBUTE TEST 2 *** +Init - pthread_setaffinity_np - Invalid cpu - EINVAL +Init - pthread_setaffinity_np - no cpu - EINVAL +Init - pthread_setaffinity_np - Invalid thread - ESRCH +Init - pthread_setaffinity_np - Invalid cpusetsize - EINVAL +Init - pthread_setaffinity_np - Invalid cpuset - EFAULT +Init - pthread_getaffinity_np - Invalid thread - ESRCH +Init - pthread_getaffinity_np - Invalid cpusetsize - EINVAL +Init - pthread_getaffinity_np - Invalid cpuset - EFAULT +Init - Set Init priority to high +Init - Create Medium priority tasks +Init - Verify Medium priority tasks +Init - Create Low priority tasks +Init - Verify Medium priority tasks +Init - Change affinity on Low priority tasks +Init - Validate affinity on Low priority tasks +*** SMP POSIX AFFINITY ATTRIBUTE TEST 2 *** |