ladybird/Tests/Kernel
Andrew Kaster 44a6715584 Tests: TestProcFs cannot assume stdin/stdout/stderr are the same
If someone runs the test with shell redirection going on, or in a way
that changes any of the standard file descriptors this assumption will
not hold. When running from a terminal normally, it is true however.

Instead, check that /proc/self/fd/[0,1,2] are symlinks, and can be
stat-d by verifying that both stat and lstat succeed, and give different
struct stat contents.
2021-06-30 08:18:28 +04:30
..
bind-local-socket-to-symlink.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
bxvga-mmap-kernel-into-userspace.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
CMakeLists.txt Tests: Install non-LibTest based Kernel tests into Kernel/Legacy subdir 2021-05-21 12:05:34 +04:30
crash-fcntl-invalid-cmd.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
elf-execve-mmap-race.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
elf-symbolication-kernel-read-exploit.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
fuzz-syscalls.cpp Tests: static vs non-static constexpr variables 2021-05-19 21:21:03 +01:00
kill-pidtid-confusion.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
mmap-write-into-running-programs-executable-file.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
mprotect-multi-region-mrotect.cpp Kernel: Add a test for multi-region mprotect 2021-05-18 16:50:52 +02:00
munmap-multi-region-unmapping.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
nanosleep-race-outbuf-munmap.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
null-deref-close-during-select.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
null-deref-crash-during-pthread_join.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
path-resolution-race.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
pthread-cond-timedwait-example.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
setpgid-across-sessions-without-leader.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
stress-truncate.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
stress-writeread.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestKernelFilePermissions.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestKernelPledge.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestKernelUnveil.cpp Kernel: Ensure that an unveil node with no permission is never accepted 2021-05-29 22:05:34 +02:00
TestProcFS.cpp Tests: TestProcFs cannot assume stdin/stdout/stderr are the same 2021-06-30 08:18:28 +04:30
uaf-close-while-blocked-in-read.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
unveil-symlinks.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00