1
0
mirror of https://github.com/containers/youki synced 2025-04-21 00:38:02 +02:00
youki/tests
Aidan Hobson Sayers 83d87a28c3
Fix --preserve-fds, eliminate stray FD being passed into container (#2893)
* Fix preserve-fds flag

Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>

* Fix a stray FD leaking in containers when using preserve-fd

Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>

* Add tests for preserve-fds, extend test harness

Test harness additionally needed to support

1. tests that cannot run in parallel
2. tests that need to customise create arguments

Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>

* Opt-out a test from runc that it errors on

Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>

* chore: minor cleanup of comments

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

---------

Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-12-30 20:19:32 +09:00
..
contest Fix --preserve-fds, eliminate stray FD being passed into container (#2893) 2024-12-30 20:19:32 +09:00
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