Changeset 73f7c4e in mainline for uspace/srv/sysman/main.c


Ignore:
Timestamp:
2019-08-06T18:29:02Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
c2d50c8
Parents:
c1b2084
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-24 09:32:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:29:02)
Message:

sysman: Create tests for job control

  • units are mocked by patching virtual methods table
  • sysman_process_queue to enforce emptying event queue

Conflicts:

.bzrignore
boot/Makefile.common

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/main.c

    rc1b2084 r73f7c4e  
    5959#define UNIT_CFG_INITRD "init.cfg"
    6060
     61
    6162static const char *target_sequence[] = {
    6263        TARGET_INIT,
     
    192193        }
    193194
    194         int rc = sysman_queue_job(tgt, STATE_STARTED, &sequence_job_handler,
     195        int rc = sysman_run_job(tgt, STATE_STARTED, &sequence_job_handler,
    195196            target_name_ptr);
    196197
Note: See TracChangeset for help on using the changeset viewer.