diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-05-07 20:40:44 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-05-07 20:40:44 +0200 |
| commit | 045bbd4afbf8eda50140fb67f1184379fdc5898e (patch) | |
| tree | ab228bfea1d14fec58006588eb98aa95786e7df3 /pkg/csource | |
| parent | 02e34016386c3face10db46ec2bbf37a47f7ea66 (diff) | |
pkg/csource: fix test exit code
Diffstat (limited to 'pkg/csource')
| -rw-r--r-- | pkg/csource/race_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/race_test.go b/pkg/csource/race_test.go index 5f75f186a..6e497e552 100644 --- a/pkg/csource/race_test.go +++ b/pkg/csource/race_test.go @@ -17,7 +17,7 @@ func init() { for _, arg := range os.Args[1:] { if strings.Contains(arg, "-test.short") { fmt.Printf("skipping race testing in short mode\n") - os.Exit(1) + os.Exit(0) } } } |
