aboutsummaryrefslogtreecommitdiffstats
path: root/syz-verifier/test_utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'syz-verifier/test_utils.go')
-rw-r--r--syz-verifier/test_utils.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/syz-verifier/test_utils.go b/syz-verifier/test_utils.go
index a32c0aa29..5dd41aee2 100644
--- a/syz-verifier/test_utils.go
+++ b/syz-verifier/test_utils.go
@@ -60,8 +60,8 @@ func makeTestResultDirectory(t *testing.T) string {
return resultsdir
}
-func makeResult(pool int, errnos []int, flags ...int) *Result {
- r := &Result{Pool: pool, Info: ipc.ProgInfo{Calls: []ipc.CallInfo{}}}
+func makeExecResult(pool int, errnos []int, flags ...int) *ExecResult {
+ r := &ExecResult{Pool: pool, Info: ipc.ProgInfo{Calls: []ipc.CallInfo{}}}
for _, e := range errnos {
r.Info.Calls = append(r.Info.Calls, ipc.CallInfo{Errno: e})
}
@@ -72,8 +72,8 @@ func makeResult(pool int, errnos []int, flags ...int) *Result {
return r
}
-func makeResultCrashed(pool int) *Result {
- return &Result{Pool: pool, Crashed: true}
+func makeExecResultCrashed(pool int) *ExecResult {
+ return &ExecResult{Pool: pool, Crashed: true}
}
func emptyTestStats() *Stats {