Changeset 8d74fdd in mainline for uspace/srv/sysman/test/job_queue.c


Ignore:
Timestamp:
2019-08-17T13:57:05Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
f92b315
Parents:
be07995
git-author:
Michal Koutný <xm.koutny+hos@…> (2016-01-27 00:01:13)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:57:05)
Message:

sysman: Shutdown operation as shutdown.tgt isolation

Since not all dependencies are captured by graph, sysman and taskman are
ignored when stopping servers, so that they can complete the shutdown
transition.

Conflicts:

boot/Makefile.common

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/test/job_queue.c

    rbe07995 r8d74fdd  
    8383        job_t *job = NULL;
    8484
    85         int rc = sysman_run_job(u, STATE_STARTED, &job_finished_cb,
     85        int rc = sysman_run_job(u, STATE_STARTED, 0, &job_finished_cb,
    8686            &job);
    8787        PCUT_ASSERT_INT_EQUALS(EOK, rc);
     
    102102        job_t *job = NULL;
    103103
    104         int rc = sysman_run_job(u, STATE_STARTED, &job_finished_cb, &job);
     104        int rc = sysman_run_job(u, STATE_STARTED, 0, &job_finished_cb, &job);
    105105        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    106106
     
    142142        /* Run test */
    143143        job_t *job = NULL;
    144         int rc = sysman_run_job(s1, STATE_STARTED, &job_finished_cb, &job);
     144        int rc = sysman_run_job(s1, STATE_STARTED, 0, &job_finished_cb, &job);
    145145        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    146146
     
    163163        /* Create and start first job */
    164164        job_t *j0 = NULL;
    165         int rc = sysman_run_job(s0, STATE_STARTED, &job_finished_cb, &j0);
     165        int rc = sysman_run_job(s0, STATE_STARTED, 0, &job_finished_cb, &j0);
    166166        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    167167
     
    176176         */
    177177        job_t *j1 = NULL;
    178         rc = sysman_run_job(s0, STATE_STARTED, &job_finished_cb, &j1);
     178        rc = sysman_run_job(s0, STATE_STARTED, 0, &job_finished_cb, &j1);
    179179        PCUT_ASSERT_INT_EQUALS(EOK, rc);
    180180
Note: See TracChangeset for help on using the changeset viewer.