From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/tests/posix/waitid.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 lib/mlibc/tests/posix/waitid.c (limited to 'lib/mlibc/tests/posix/waitid.c') diff --git a/lib/mlibc/tests/posix/waitid.c b/lib/mlibc/tests/posix/waitid.c deleted file mode 100644 index e69b1ef..0000000 --- a/lib/mlibc/tests/posix/waitid.c +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include -#include -#include -#include - -siginfo_t si; - -int main() { - int pid = fork(); - - if(!pid) - exit(69); - - int ret = waitid(P_ALL, 0, &si, WEXITED); - assert(ret == 0); - assert(si.si_pid == pid); - assert(si.si_signo == SIGCHLD); - assert(si.si_code == CLD_EXITED); -} \ No newline at end of file -- cgit v1.2.3