diff options
| author | Anton Lindqvist <anton@basename.se> | 2018-12-08 11:00:59 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-08 18:59:10 +0100 |
| commit | 4e1aade2feeb2b9c8b40426b39296d2ae9aa0b99 (patch) | |
| tree | a6297914f8b6839458511e9d593c01858cf7dda5 /pkg/report/linux_test.go | |
| parent | 2b3ea5d7e046d4827e367319b0c1b0717ea315b0 (diff) | |
pkg/report: pass the target to each OS report constructor
In order to use the already defined kernel name in sys/targets to reduce
duplications.
Diffstat (limited to 'pkg/report/linux_test.go')
| -rw-r--r-- | pkg/report/linux_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/report/linux_test.go b/pkg/report/linux_test.go index 83b631f55..ff083bb54 100644 --- a/pkg/report/linux_test.go +++ b/pkg/report/linux_test.go @@ -13,7 +13,8 @@ import ( func TestLinuxIgnores(t *testing.T) { cfg := &mgrconfig.Config{ - TargetOS: "linux", + TargetOS: "linux", + TargetArch: "amd64", } reporter, err := NewReporter(cfg) if err != nil { |
