1
0
mirror of https://github.com/containers/youki synced 2025-12-21 23:35:10 +01:00
youki/tests/contest
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
runtimetest Fix --preserve-fds, eliminate stray FD being passed into container (#2893) 2024-12-30 20:19:32 +09:00
test_framework Fix --preserve-fds, eliminate stray FD being passed into container (#2893) 2024-12-30 20:19:32 +09:00