diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-04-09 19:27:54 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-31 13:35:25 +0200 |
| commit | 142ce68175f5321ccde23eafda4830707f20e67b (patch) | |
| tree | 9c90af141c4a6a068b9a843438313f32cbc3b53f /tools | |
| parent | c054a92ddef28b343db8a733b3e191cf96c28768 (diff) | |
pkg/runtest: add simple USB runtest
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-runtest/runtest.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/syz-runtest/runtest.go b/tools/syz-runtest/runtest.go index e507db571..61b89a809 100644 --- a/tools/syz-runtest/runtest.go +++ b/tools/syz-runtest/runtest.go @@ -284,6 +284,9 @@ func testParsing(target *prog.Target, dir string) error { if strings.HasSuffix(file.Name(), "~") { continue } + if strings.HasSuffix(file.Name(), ".swp") { + continue + } if err := runtest.TestParseProg(target, dir, file.Name()); err != nil { return err } |
