aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/parser_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ast/parser_test.go')
-rw-r--r--pkg/ast/parser_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/ast/parser_test.go b/pkg/ast/parser_test.go
index b5861b5a8..d3a9049bc 100644
--- a/pkg/ast/parser_test.go
+++ b/pkg/ast/parser_test.go
@@ -10,10 +10,12 @@ import (
"reflect"
"strings"
"testing"
+
+ "github.com/google/syzkaller/sys/targets"
)
func TestParseAll(t *testing.T) {
- files, err := filepath.Glob(filepath.Join("..", "..", "sys", "linux", "*.txt"))
+ files, err := filepath.Glob(filepath.Join("..", "..", "sys", targets.Linux, "*.txt"))
if err != nil || len(files) == 0 {
t.Fatalf("failed to read sys dir: %v", err)
}