Changeset b22b0a94 in mainline for uspace/app/tester/proc/task_wait.c
- Timestamp:
- 2019-08-07T05:39:54Z (5 years ago)
- Children:
- b8341bc
- Parents:
- 5cd2290
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-10-19 21:34:52)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:39:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/proc/task_wait.c
r5cd2290 rb22b0a94 36 36 #include "common.h" 37 37 38 #define DUMMY_TASK "/root/app/tester"39 #define DUMMY_TASK_ARG "proc_dummy_task"40 41 #define S(x) #x42 #define S_(x) S(x)43 #define S__LINE__ S_(__LINE__)44 45 #define TASSERT(expr) \46 do { \47 if (!(expr)) \48 return "Failed " #expr " " __FILE__ ":" S__LINE__ ; \49 } while (0)50 51 static int dummy_task_spawn(task_id_t *task_id, task_wait_t *wait,52 const char *behavior)53 {54 return task_spawnl(task_id, wait,55 DUMMY_TASK, DUMMY_TASK, DUMMY_TASK_ARG, behavior,56 NULL);57 }58 38 59 39 const char *test_proc_task_wait(void)
Note:
See TracChangeset
for help on using the changeset viewer.