From 142ce68175f5321ccde23eafda4830707f20e67b Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 9 Apr 2019 19:27:54 +0200 Subject: pkg/runtest: add simple USB runtest --- tools/syz-runtest/runtest.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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 } -- cgit mrf-deployment