aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/shim_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/outcome/shim_test.go')
-rw-r--r--internal/outcome/shim_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/outcome/shim_test.go b/internal/outcome/shim_test.go
index d493f709..046c22b6 100644
--- a/internal/outcome/shim_test.go
+++ b/internal/outcome/shim_test.go
@@ -148,9 +148,9 @@ func TestShimEntrypoint(t *testing.T) {
// deferred
call("wKeepAlive", stub.ExpectArgs{}, nil, nil),
}, Tracks: []stub.Expect{{Calls: []stub.Call{
- call("rcRead", stub.ExpectArgs{}, []byte{2}, nil),
+ call("rcRead", stub.ExpectArgs{}, []byte{shimMsgInvalid}, nil),
call("verbose", stub.ExpectArgs{[]any{"sa_sigaction got invalid siginfo"}}, nil, nil),
- call("rcRead", stub.ExpectArgs{}, []byte{3}, nil),
+ call("rcRead", stub.ExpectArgs{}, []byte{shimMsgBadPID}, nil),
call("verbose", stub.ExpectArgs{[]any{"got SIGCONT from unexpected process"}}, nil, nil),
call("rcRead", stub.ExpectArgs{}, nil, nil), // stub terminates this goroutine
}}}}, nil},