containerd/internal/cri
Reinhard Tartler 09d3e20d3a Allow running test in usernamespace
Debian has started building packages with usernamespaces
to disable network access and similar isolation features. The
containerd package executes a unit test that fails in that
scenario, see https://bugs.debian.org/1070411

The code contains a conditional on whether it is running in
usernamepsace. This commit expands the unit test to cover
this behavior; it was previously untested.

The easiest way to reproduce this issue is to prefix the test
invocaiton with 'unshare -nr go test [...]'

Signed-off-by: Reinhard Tartler <siretart@gmail.com>
2024-06-12 00:36:54 +00:00
..
annotations cri: add pause image name to annotations 2024-04-09 22:33:58 +08:00
bandwidth Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
config update pause image to 3.10 2024-05-25 08:17:46 +08:00
constants Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
instrument Wire through CRI ContainerCheckpoint RPC 2024-03-07 17:34:07 +00:00
io modify streaming io url form 2024-05-13 17:42:51 +08:00
labels Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
nri Move nri packages to plugin and internal 2024-02-29 21:37:36 -08:00
opts *: export RemoveVolatileOption for CRI image volumes 2024-05-30 09:56:37 +08:00
server Allow running test in usernamespace 2024-06-12 00:36:54 +00:00
seutil pkg/seutil: move to internal/cri 2024-03-20 11:11:24 +01:00
store sandbox: merge address and protocol to one url 2024-04-30 15:28:00 +08:00
systemd pkg/systemd: move to internal/cri 2024-03-20 11:05:25 +01:00
testing Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
types Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
util Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00