From 96750a7d3c52b75d13d6f3ed46bd48af28acebcd Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 16 Jun 2016 21:56:23 +0200 Subject: tests: exit with correct error code from TestMain extpass_test and example_filesystems_test did it wrong, always returning 0. --- internal/readpassword/extpass_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/readpassword') diff --git a/internal/readpassword/extpass_test.go b/internal/readpassword/extpass_test.go index cdb800c..4af775a 100644 --- a/internal/readpassword/extpass_test.go +++ b/internal/readpassword/extpass_test.go @@ -11,7 +11,7 @@ import ( func TestMain(m *testing.M) { // Shut up info output tlog.Info.Enabled = false - m.Run() + os.Exit(m.Run()) } func TestExtpass(t *testing.T) { -- cgit v1.2.3