From 66b39eb7ce9605cbb70defdca7f0eb144855ddcd Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 22 Aug 2024 13:19:50 +0300 Subject: change sys_ret handling to always include id --- tests/ipc-req/init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/ipc-req/init.c') 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); -- cgit v1.3