diff options
| author | Taras Madan <tarasmadan@google.com> | 2022-03-22 15:29:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-22 15:29:22 +0100 |
| commit | 2b144c61b5a61b941f320c1b08b6692600b8e033 (patch) | |
| tree | 42cf5946f4296c58fab2d14338357915a24cd46a /syz-verifier | |
| parent | d88ef0c5c80d45a060e170c2706371f6b2957f55 (diff) | |
syz-verifier: fix syscalls API mapping in test (#3037)
Diffstat (limited to 'syz-verifier')
| -rw-r--r-- | syz-verifier/verifier_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syz-verifier/verifier_test.go b/syz-verifier/verifier_test.go index f3068787a..0c325d4d7 100644 --- a/syz-verifier/verifier_test.go +++ b/syz-verifier/verifier_test.go @@ -118,9 +118,9 @@ func TestUpdateUnsupported(t *testing.T) { a := &rpctype.UpdateUnsupportedArgs{ Pool: 0, UnsupportedCalls: []rpctype.SyscallReason{ - {ID: 142, Reason: "foo"}, + {ID: target.SyscallMap["test$res0"].ID, Reason: "foo"}, {ID: 2, Reason: "bar"}, - {ID: 156, Reason: "tar"}, + {ID: target.SyscallMap["test$union0"].ID, Reason: "tar"}, }} if err := vrf.srv.UpdateUnsupported(a, nil); err != nil { t.Fatalf("srv.UpdateUnsupported failed: %v", err) |
