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/glibc/gnu-basename.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 lib/mlibc/tests/glibc/gnu-basename.c (limited to 'lib/mlibc/tests/glibc/gnu-basename.c') diff --git a/lib/mlibc/tests/glibc/gnu-basename.c b/lib/mlibc/tests/glibc/gnu-basename.c deleted file mode 100644 index 9566532..0000000 --- a/lib/mlibc/tests/glibc/gnu-basename.c +++ /dev/null @@ -1,13 +0,0 @@ -#define _GNU_SOURCE -#include -#include - -#define test_string(x, expectval) assert(strcmp(basename(x), expectval) == 0) - -int main() { - test_string("/usr/lib", "lib"); - test_string("/usr/", ""); - test_string("/", ""); - test_string(".", "."); - test_string("..", ".."); -} -- cgit v1.2.3