diff options
| author | Taras Madan <tarasmadan@gmail.com> | 2021-10-14 14:47:55 +0000 |
|---|---|---|
| committer | tarasmadan <89859571+tarasmadan@users.noreply.github.com> | 2021-10-15 09:52:17 +0200 |
| commit | 115b2d95e56f01373ebe1c3f8f5a4d8c3c4d33e4 (patch) | |
| tree | d5ae7da0e49e35a24d66aae7551330ca06e7f86f /syz-verifier/test_utils.go | |
| parent | fc538d9dc19d1d8d0c0301ca73f269e71d978c85 (diff) | |
syz-verifier: rename verifier.go and Result to better reflect internals
Diffstat (limited to 'syz-verifier/test_utils.go')
| -rw-r--r-- | syz-verifier/test_utils.go | 8 |
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 { |
