diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-22 13:19:50 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-22 13:19:50 +0300 |
| commit | 66b39eb7ce9605cbb70defdca7f0eb144855ddcd (patch) | |
| tree | 702bd65c46591052f40987c848b664a84057f7e7 /tests/ipc-req | |
| parent | 4168cca8124acdbd1866eb87810efe1cfe16903c (diff) | |
| download | kmi-66b39eb7ce9605cbb70defdca7f0eb144855ddcd.tar.gz kmi-66b39eb7ce9605cbb70defdca7f0eb144855ddcd.zip | |
change sys_ret handling to always include id
Diffstat (limited to 'tests/ipc-req')
| -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); |
