diff options
author | Jakob Unterwurzacher | 2016-06-16 21:56:23 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-16 21:56:23 +0200 |
commit | 96750a7d3c52b75d13d6f3ed46bd48af28acebcd (patch) | |
tree | c635af442a00aaac8281c220216a608106d9128f /tests/example_filesystems | |
parent | 82d87ff8eda1a8e43cda4a5f500fc579477ee606 (diff) |
tests: exit with correct error code from TestMain
extpass_test and example_filesystems_test did it wrong,
always returning 0.
Diffstat (limited to 'tests/example_filesystems')
-rw-r--r-- | tests/example_filesystems/example_filesystems_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/example_filesystems/example_filesystems_test.go b/tests/example_filesystems/example_filesystems_test.go index 7517bc5..e20fc94 100644 --- a/tests/example_filesystems/example_filesystems_test.go +++ b/tests/example_filesystems/example_filesystems_test.go @@ -15,7 +15,7 @@ const statusTxtContent = "It works!\n" func TestMain(m *testing.M) { test_helpers.ResetTmpDir(true) - m.Run() + os.Exit(m.Run()) } // checkExampleFS - verify that "dir" contains the expected test files |