From b8669338da36c9a4fabec6c49cad20a5f8180cf2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 29 Aug 2025 01:43:11 +0900 Subject: container/initsymlink: unwrap absolute error This is now handled properly by the init. Signed-off-by: Ophestra --- container/initsymlink_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'container/initsymlink_test.go') diff --git a/container/initsymlink_test.go b/container/initsymlink_test.go index 1bd0589e..0687afde 100644 --- a/container/initsymlink_test.go +++ b/container/initsymlink_test.go @@ -1,7 +1,6 @@ package container import ( - "io/fs" "os" "testing" ) @@ -19,7 +18,7 @@ func TestSymlinkOp(t *testing.T) { Target: MustAbs("/etc/mtab"), LinkName: "etc/mtab", Dereference: true, - }, nil, msg.WrapErr(fs.ErrInvalid, `path "etc/mtab" is not absolute`), nil, nil}, + }, nil, &AbsoluteError{"etc/mtab"}, nil, nil}, {"readlink", &Params{ParentPerm: 0755}, &SymlinkOp{ Target: MustAbs("/etc/mtab"), -- cgit v1.3.1