diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:04:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:04:09 +0900 |
| commit | 4da6463135f63658365d837e8d7dd69f0ca1468e (patch) | |
| tree | f68352b9b472c0883a3dc2e1911707ed46f8b232 /container/initproc_test.go | |
| parent | eb3385d490523262e26b6cb691a5e18a07a8b26d (diff) | |
container/init: unwrap path errors
These are also now handled by init properly, so wrapping them in self is meaningless and unreachable.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/initproc_test.go')
| -rw-r--r-- | container/initproc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/initproc_test.go b/container/initproc_test.go index 2d72bd72..ca90178f 100644 --- a/container/initproc_test.go +++ b/container/initproc_test.go @@ -12,7 +12,7 @@ func TestMountProcOp(t *testing.T) { Target: MustAbs("/proc/"), }, nil, nil, []kexpect{ {"mkdirAll", expectArgs{"/sysroot/proc", os.FileMode(0755)}, nil, errUnique}, - }, wrapErrSelf(errUnique)}, + }, errUnique}, {"success", &Params{ParentPerm: 0700}, &MountProcOp{ |
