Add test for chroot

Signed-off-by: plucky <m202372036@hust.edu.cn>
This commit is contained in:
plucky
2024-03-24 10:34:51 +08:00
committed by Tate, Hongliang Tian
parent 74c70e3b5a
commit dd64f58e55
2 changed files with 12 additions and 0 deletions

View File

@ -9,6 +9,7 @@ TESTS ?= \
alarm_test \ alarm_test \
chmod_test \ chmod_test \
chown_test \ chown_test \
chroot_test \
fsync_test \ fsync_test \
getdents_test \ getdents_test \
link_test \ link_test \

View File

@ -0,0 +1,11 @@
ChrootTest.Success
ChrootTest.PermissionDenied
ChrootTest.NotDir
ChrootTest.NotExist
ChrootTest.WithoutCapability
ChrootTest.CreatesNewRoot
ChrootTest.DotDotFromOpenFD
ChrootTest.ProcFdLinkResolutionInChroot
ChrootTest.ProcMemSelfFdsNoEscapeProcOpen
ChrootTest.ProcMemSelfMapsNoEscapeProcOpen
ChrootTest.ProcMountsMountinfoNoEscape