aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mode_test.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mode_test.c b/src/mode_test.c
index 811755e..8bdf21b 100644
--- a/src/mode_test.c
+++ b/src/mode_test.c
@@ -33,7 +33,7 @@ void do_stuff(void)
33 j += prefix(); 33 j += prefix();
34} 34}
35 35
36#define CALL(sc) do { ret = sc; if (ret == -1) {perror(" (!!) " #sc " failed: "); /*exit(1)*/;}} while (0); 36#define CALL(sc) do { ret = sc; if (ret == -1) {perror(" (!!) " #sc " failed"); /*exit(1)*/;}} while (0);
37 37
38unsigned int job_no; 38unsigned int job_no;
39 39
@@ -57,10 +57,14 @@ int main(int argc, char** argv)
57 57
58 58
59 CALL(get_job_no(&job_no)); 59 CALL(get_job_no(&job_no));
60 printf("my job_no is %u", job_no); 60 printf("my job_no is %u", job_no);
61 61
62 CALL( task_mode(LITMUS_RT_TASK) ); 62 CALL( task_mode(LITMUS_RT_TASK) );
63 63
64 CALL( sporadic_global(3, 33) );
65
66 CALL( task_mode(LITMUS_RT_TASK) );
67
64 next(); 68 next();
65 do_stuff(); 69 do_stuff();
66 70