From 045bbd4afbf8eda50140fb67f1184379fdc5898e Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 7 May 2018 20:40:44 +0200 Subject: pkg/csource: fix test exit code --- pkg/csource/race_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/csource') 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) } } } -- cgit mrf-deployment