aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci/config_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-19 17:23:03 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-20 19:59:55 +0200
commit6573032fffc201ee69dfe22d0d678eda8f915436 (patch)
tree2f35ad8c63b7b474b3072b1ce71dd0877b6d9b71 /syz-ci/config_test.go
parentfea266b33f5e4170b75d678d5e355f947aeb50cc (diff)
syz-ci: add continuous integration system
Diffstat (limited to 'syz-ci/config_test.go')
-rw-r--r--syz-ci/config_test.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/syz-ci/config_test.go b/syz-ci/config_test.go
new file mode 100644
index 000000000..4d33f11df
--- /dev/null
+++ b/syz-ci/config_test.go
@@ -0,0 +1,14 @@
+// Copyright 2017 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+package main
+
+import (
+ "testing"
+)
+
+func TestLoadConfig(t *testing.T) {
+ if _, err := loadConfig("testdata/example.cfg"); err != nil {
+ t.Fatalf("failed to load: %v", err)
+ }
+}