diff options
Diffstat (limited to 'internal/outcome/shim_test.go')
| -rw-r--r-- | internal/outcome/shim_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/outcome/shim_test.go b/internal/outcome/shim_test.go index 08f037da..6d9a9f3d 100644 --- a/internal/outcome/shim_test.go +++ b/internal/outcome/shim_test.go @@ -16,6 +16,7 @@ import ( "hakurei.app/fhs" "hakurei.app/hst" "hakurei.app/internal/env" + "hakurei.app/internal/params" "hakurei.app/internal/stub" ) @@ -172,7 +173,7 @@ func TestShimEntrypoint(t *testing.T) { call("setDumpable", stub.ExpectArgs{uintptr(ext.SUID_DUMP_DISABLE)}, nil, nil), call("getppid", stub.ExpectArgs{}, 0xbad, nil), call("setupContSignal", stub.ExpectArgs{0xbad}, 0, nil), - call("receive", stub.ExpectArgs{"HAKUREI_SHIM", outcomeState{}, nil}, nil, container.ErrReceiveEnv), + call("receive", stub.ExpectArgs{"HAKUREI_SHIM", outcomeState{}, nil}, nil, params.ErrReceiveEnv), call("fatal", stub.ExpectArgs{[]any{"HAKUREI_SHIM not set"}}, nil, nil), // deferred |
