mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
Tests: Add a unit test to ensure the /dev/mem device works correctly
To ensure everything works as expected, a unit test was added with multiple scenarios. This binary has to have the SetUID flag, and we also bind-mount the /usr/Tests directory to allow running of SetUID binaries.
This commit is contained in:
parent
026687816d
commit
cf0dbc9069
4 changed files with 57 additions and 0 deletions
|
@ -37,6 +37,7 @@ set(LIBTEST_BASED_SOURCES
|
|||
TestKernelFilePermissions.cpp
|
||||
TestKernelPledge.cpp
|
||||
TestKernelUnveil.cpp
|
||||
TestMemoryDeviceMmap.cpp
|
||||
TestMunMap.cpp
|
||||
TestProcFS.cpp
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue