aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/container_test.go')
-rw-r--r--container/container_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/container/container_test.go b/container/container_test.go
index 2db2c08e..43ed9a0d 100644
--- a/container/container_test.go
+++ b/container/container_test.go
@@ -20,7 +20,6 @@ import (
"hakurei.app/container/seccomp"
"hakurei.app/container/vfs"
"hakurei.app/hst"
- "hakurei.app/internal"
"hakurei.app/internal/hlog"
)
@@ -106,7 +105,8 @@ func TestContainer(t *testing.T) {
{
oldVerbose := hlog.Load()
oldOutput := container.GetOutput()
- internal.InstallOutput(true)
+ hlog.Store(testing.Verbose())
+ container.SetOutput(hlog.Output{})
t.Cleanup(func() { hlog.Store(oldVerbose) })
t.Cleanup(func() { container.SetOutput(oldOutput) })
}