From 9cea41ad339ff55a0eb50b43b15c73245fa86343 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 May 2020 11:56:49 +0200 Subject: sys/syz-sysgen: fix up linux/arm/kvm hack We have some private files that need to be excluded as well... oh, hacks. --- sys/syz-sysgen/sysgen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/syz-sysgen') diff --git a/sys/syz-sysgen/sysgen.go b/sys/syz-sysgen/sysgen.go index 9e4f894cd..7b275ce4f 100644 --- a/sys/syz-sysgen/sysgen.go +++ b/sys/syz-sysgen/sysgen.go @@ -117,7 +117,7 @@ func main() { // Note: syz-extract also ignores this file for arm. top = descriptions.Filter(func(n ast.Node) bool { pos, _, _ := n.Info() - return pos.File != "dev_kvm.txt" + return !strings.HasSuffix(pos.File, "_kvm.txt") }) } if OS == "test" { -- cgit mrf-deployment