containerd/internal
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
..
cleanup Move pkg/cleanup to internal/cleanup 2024-01-17 09:56:34 -08:00
cri Allow running test in usernamespace 2024-06-12 00:36:54 +00:00
eventq Add support for multiple subscribers to CRI container events 2024-01-19 21:27:06 -08:00
failpoint Move pkg/failpoint to internal/failpoint 2024-01-17 09:56:43 -08:00
hasher Move pkg/hasher to internal/hasher 2024-01-17 09:56:52 -08:00
kmutex Move pkg/randutil to internal/randutil 2024-01-17 09:57:10 -08:00
nri Move nri packages to plugin and internal 2024-02-29 21:37:36 -08:00
randutil Move pkg/randutil to internal/randutil 2024-01-17 09:57:10 -08:00
registrar Move pkg/registrar to internal/registrar 2024-01-17 09:57:19 -08:00
tomlext Move pkg/tomlext to internal/tomlext 2024-01-17 09:57:37 -08:00
truncindex Move pkg/truncindex to internal/truncindex 2024-01-17 09:57:46 -08:00