diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ipc-req/init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ipc-req/init.c b/tests/ipc-req/init.c index 7f1c6aa..3439335 100644 --- a/tests/ipc-req/init.c +++ b/tests/ipc-req/init.c @@ -9,11 +9,11 @@ START(pid, tid, d0, d1, d2, d3) struct sys_ret r = sys_ipc_req4(1, 1, 2, 3, 4); printf("returned ipc req to ourselves\n"); check(r.s == OK, "not OK return\n"); - check(r.a0 == 1, "not OK response ID\n"); - check(r.a1 == 1, "not OK d0 response\n"); - check(r.a2 == 2, "not OK d1 response\n"); - check(r.a3 == 3, "not OK d2 response\n"); - check(r.a4 == 4, "not OK d3 response\n"); + check(r.id == 1, "not OK response ID\n"); + check(r.a0 == 1, "not OK d0 response\n"); + check(r.a1 == 2, "not OK d1 response\n"); + check(r.a2 == 3, "not OK d2 response\n"); + check(r.a3 == 4, "not OK d3 response\n"); /* try to request to non-existing proc */ r = sys_ipc_req0(200); |
