[libc-commits] [libc] [libc] implement ioctl (PR #85890)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Mar 25 08:51:44 PDT 2024
nickdesaulniers wrote:
> @nickdesaulniers nick I am not really familiar with how to write test case for this syscall, do you have any recommnedations which case should I cover for unit test?
I think what you have is fine for now.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/adding-syscalls.rst#n186 for linux suggests that a "selftest" should be written (in the Linux kernel sources) to test these interfaces. At some point, we'll look into getting those building against llvm-libc. But @kaladron suggests we avoid testing kernel functionality.
https://github.com/llvm/llvm-project/pull/85890
More information about the libc-commits
mailing list