1
0
mirror of https://github.com/containers/youki synced 2024-11-26 06:08:07 +01:00
youki/tests
sat0ken d5d5fadf99
Add e2e test for process user (#2978)
* add-test-process-user

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix error

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix err and format

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix err to use UserBuilder

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* remove unnecessary return

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* rename module name

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix unsafe code to use nix

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix err to use nix

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* update fn validate_additional_gids to check group ids length

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* set additional_gids to random number

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* set umask value to variables

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* change random number range

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* change err msg to use bail

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* nit: update error message in case of test failure

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix: make sure random gid values are unique

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-11-14 19:40:11 +05:30
..
contest Add e2e test for process user (#2978) 2024-11-14 19:40:11 +05:30
dind add docker-in-docker e2e test (#2645) 2024-01-20 10:16:08 +09:00
k8s Add the test with kind to github action 2023-06-11 02:05:03 +00:00
oci-runtime-tests/src/github.com/opencontainers Name the test tools contest (#2486) 2024-01-12 14:28:47 +05:30
rootless-tests Fix cgroups determination in exec implementation (#2720) 2024-04-27 21:49:58 +09:00
.gitignore Refactor test dir structure (#2421) 2023-10-10 21:00:02 +09:00