diff options
author | Jakob Unterwurzacher | 2019-01-01 19:44:41 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-01-01 20:05:38 +0100 |
commit | 887d5aa8e74e20b065b9a0c9b6e99dd05815112a (patch) | |
tree | 98dea76b27151a407b634fd2e6de055baa982669 /tests/cli | |
parent | 817c485bb7dbd890a15aca683d6004437772c659 (diff) |
tests: teach ListFds() to check other processes
Diffstat (limited to 'tests/cli')
-rw-r--r-- | tests/cli/cli_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cli/cli_test.go b/tests/cli/cli_test.go index 314f6ce..48ce303 100644 --- a/tests/cli/cli_test.go +++ b/tests/cli/cli_test.go @@ -21,9 +21,9 @@ var testPw = []byte("test") func TestMain(m *testing.M) { test_helpers.ResetTmpDir(false) - before := test_helpers.ListFds() + before := test_helpers.ListFds(0) r := m.Run() - after := test_helpers.ListFds() + after := test_helpers.ListFds(0) if len(before) != len(after) { fmt.Printf("fd leak? before, after:\n%v\n%v\n", before, after) os.Exit(1) |