summaryrefslogtreecommitdiff
path: root/src/user/app/init/tests/tests.h
diff options
context:
space:
mode:
authordzwdz2022-07-26 22:21:52 +0200
committerdzwdz2022-07-26 22:34:22 +0200
commitd54dcb2efc4be344900a7721ac4b65b47840c5d2 (patch)
tree8d0b2a5158809fe64a40e3b362c01f1b2f22772e /src/user/app/init/tests/tests.h
parent059ef013683e780a6603b228cd1fd8391d11494e (diff)
user/libc: exit()
What an interesting commit.
Diffstat (limited to 'src/user/app/init/tests/tests.h')
-rw-r--r--src/user/app/init/tests/tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/init/tests/tests.h b/src/user/app/init/tests/tests.h
index 23ed1e3..39294eb 100644
--- a/src/user/app/init/tests/tests.h
+++ b/src/user/app/init/tests/tests.h
@@ -13,7 +13,7 @@ void test_semaphore(void);
#define argify(str) str, sizeof(str) - 1
#define test_fail() do { \
printf("\033[31m" "TEST FAILED: %s:%xh\n" "\033[0m", __func__, __LINE__); \
- _syscall_exit(0); \
+ exit(0); \
} while (0)
#define assert(cond) if (!(cond)) test_fail();