Changeset 0232b28 in rtems for testsuites/smptests


Ignore:
Timestamp:
Jul 4, 2017, 6:59:37 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
76d1198
Parents:
1ec9c86
git-author:
Sebastian Huber <sebastian.huber@…> (07/04/17 06:59:37)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/07/17 05:36:31)
Message:

score: Use processor mask for set affinity

Update #3059.

Location:
testsuites/smptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/smpaffinity01/init.c

    r1ec9c86 r0232b28  
    6060  /* Verify rtems_task_set_affinity validates cpusetsize */
    6161  puts( "Init - rtems_task_set_affinity - Invalid cpusetsize - RTEMS_INVALID_NUMBER" );
    62   sc = rtems_task_set_affinity( Init_id,  sizeof(cpu_set_t) * 2, &cpuset );
     62  sc = rtems_task_set_affinity( Init_id,  1, &cpuset );
    6363  rtems_test_assert( sc == RTEMS_INVALID_NUMBER );
    6464
  • testsuites/smptests/smppsxaffinity02/init.c

    r1ec9c86 r0232b28  
    6767  /* Verify pthread_setaffinity_np validates cpusetsize */
    6868  puts( "Init - pthread_setaffinity_np - Invalid cpusetsize - EINVAL" );
    69   sc = pthread_setaffinity_np( Init_id,  sizeof(cpu_set_t) * 2, &cpuset );
     69  sc = pthread_setaffinity_np( Init_id,  1, &cpuset );
    7070  rtems_test_assert( sc == EINVAL );
    7171
Note: See TracChangeset for help on using the changeset viewer.