aboutsummaryrefslogtreecommitdiff
path: root/tests/cli/cli_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-10-06 18:48:09 +0200
committerJakob Unterwurzacher2019-10-06 18:48:09 +0200
commitd361f6e35bb97ef8f060131ea5b29f922e613c49 (patch)
tree6fc1d74db71a03dfca9f3569e4a027320b596196 /tests/cli/cli_test.go
parent44e5c9ab967fcab61620e6635ab2194b254dfa67 (diff)
tests: clarify which process seems to be leaking fds
The tests check if they leak fds themselves, but we also check if gocryptfs leaks fds. Clarify what is what in the error message.
Diffstat (limited to 'tests/cli/cli_test.go')
-rw-r--r--tests/cli/cli_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cli/cli_test.go b/tests/cli/cli_test.go
index 0461d3c..d0ac5d8 100644
--- a/tests/cli/cli_test.go
+++ b/tests/cli/cli_test.go
@@ -26,7 +26,7 @@ func TestMain(m *testing.M) {
r := m.Run()
after := test_helpers.ListFds(0)
if len(before) != len(after) {
- fmt.Printf("fd leak? before, after:\n%v\n%v\n", before, after)
+ fmt.Printf("fd leak in test process? before, after:\n%v\n%v\n", before, after)
os.Exit(1)
}
os.Exit(r)