diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 21:29:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 21:29:16 +0900 |
| commit | 5d18af00077ae6ba8ef686d1fd93d888f69681b2 (patch) | |
| tree | eff32422fe3ef095c6a915ccb41c2a10a06990f7 /helper | |
| parent | 0e6c1a50260de141c50bb50fd3f2b2bcf9a3fe64 (diff) | |
container/fhs: move pathname constants
This allows referencing FHS pathnames without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper')
| -rw-r--r-- | helper/container_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
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) }) }) |
