aboutsummaryrefslogtreecommitdiff
path: root/tests/create
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-10-30 00:57:33 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-10-30 00:57:33 +0200
commit44a73ecab6e91519627786a5101cd4f1a2f2b0d7 (patch)
treef5c811050a4d5ee832f5883c4d0c27efddd60817 /tests/create
parent5976ad390a15726c3ddfacf8c8b282c8350f9554 (diff)
downloadkmi-44a73ecab6e91519627786a5101cd4f1a2f2b0d7.tar.gz
kmi-44a73ecab6e91519627786a5101cd4f1a2f2b0d7.zip
most of the way to passing tests
Diffstat (limited to 'tests/create')
-rw-r--r--tests/create/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/create/init.c b/tests/create/init.c
index ca38c22..b596fe1 100644
--- a/tests/create/init.c
+++ b/tests/create/init.c
@@ -4,8 +4,8 @@ static int data = 0;
void callback(id_t tid, int d0, int d1, int d2, int d3)
{
- UNUSED(tid);
printf("hello from new thread\n");
+ check(tid == 2, "wrond tid\n");
check(d0 == 1, "wrong d0\n");
check(d1 == 2, "wrond d1\n");
check(d2 == 3, "wrong d2\n");