From 5d18af00077ae6ba8ef686d1fd93d888f69681b2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 21:29:16 +0900 Subject: container/fhs: move pathname constants This allows referencing FHS pathnames without importing container. Signed-off-by: Ophestra --- helper/container_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'helper') diff --git a/helper/container_test.go b/helper/container_test.go index 495ea752..922d8253 100644 --- a/helper/container_test.go +++ b/helper/container_test.go @@ -8,6 +8,7 @@ import ( "hakurei.app/container" "hakurei.app/container/check" + "hakurei.app/container/fhs" "hakurei.app/helper" ) @@ -35,9 +36,9 @@ func TestContainer(t *testing.T) { return helper.New(ctx, nil, check.MustAbs(os.Args[0]), "helper", argsWt, stat, argF, func(z *container.Container) { setOutput(&z.Stdout, &z.Stderr) z. - Bind(container.AbsFHSRoot, container.AbsFHSRoot, 0). - Proc(container.AbsFHSProc). - Dev(container.AbsFHSDev, true) + Bind(fhs.AbsRoot, fhs.AbsRoot, 0). + Proc(fhs.AbsProc). + Dev(fhs.AbsDev, true) }, nil) }) }) -- cgit v1.3.1