aboutsummaryrefslogtreecommitdiff
path: root/internal/readpassword
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-16 21:56:23 +0200
committerJakob Unterwurzacher2016-06-16 21:56:23 +0200
commit96750a7d3c52b75d13d6f3ed46bd48af28acebcd (patch)
treec635af442a00aaac8281c220216a608106d9128f /internal/readpassword
parent82d87ff8eda1a8e43cda4a5f500fc579477ee606 (diff)
tests: exit with correct error code from TestMain
extpass_test and example_filesystems_test did it wrong, always returning 0.
Diffstat (limited to 'internal/readpassword')
-rw-r--r--internal/readpassword/extpass_test.go2
1 files changed, 1 insertions, 1 deletions
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) {