Changeset 8352d41 in rtems for testsuites


Ignore:
Timestamp:
Oct 5, 2018, 5:30:29 AM (14 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b38887a
Parents:
b131cb2
git-author:
Sebastian Huber <sebastian.huber@…> (10/05/18 05:30:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/05/18 05:31:39)
Message:

spthreadlife01: A task exit must not return

Update #3533.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spthreadlife01/init.c

    rb131cb2 r8352d41  
    200200{
    201201  test_context *ctx = &test_instance;
    202   rtems_status_code sc;
    203202
    204203  rtems_test_assert(ctx->worker_task_id == rtems_task_self());
     
    208207      assert_priority(PRIO_INIT);
    209208      ctx->current = DELETE_1;
    210       sc = rtems_task_delete(RTEMS_SELF);
    211       rtems_test_assert(sc == RTEMS_SUCCESSFUL);
     209      rtems_task_delete(RTEMS_SELF);
     210      rtems_test_assert(0);
    212211      break;
    213212    case DELETE_1:
     
    307306        ctx->current = EXIT_1;
    308307        rtems_task_exit();
     308        rtems_test_assert(0);
    309309        break;
    310310      default:
Note: See TracChangeset for help on using the changeset viewer.