diff options
author | Lukas Larsson <[email protected]> | 2017-09-07 17:26:25 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-09-12 09:56:07 +0200 |
commit | bcfa4564df41ad5806a4848dcb3be31fbfea6a9e (patch) | |
tree | 7b21d9e64a698662c3229796c184b949f20f602e /erts | |
parent | 373f6170e70953838d95f09f511d81abc1fec87c (diff) | |
download | otp-bcfa4564df41ad5806a4848dcb3be31fbfea6a9e.tar.gz otp-bcfa4564df41ad5806a4848dcb3be31fbfea6a9e.tar.bz2 otp-bcfa4564df41ad5806a4848dcb3be31fbfea6a9e.zip |
erts: Fix leaking of fds in iovec_SUITE
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/test/iovec_SUITE.erl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/erts/emulator/test/iovec_SUITE.erl b/erts/emulator/test/iovec_SUITE.erl index a5f605bfff..28df36d293 100644 --- a/erts/emulator/test/iovec_SUITE.erl +++ b/erts/emulator/test/iovec_SUITE.erl @@ -20,7 +20,7 @@ -module(iovec_SUITE). --export([all/0, suite/0]). +-export([all/0, suite/0, init_per_suite/1, end_per_suite/1]). -export([integer_lists/1, binary_lists/1, empty_lists/1, empty_binary_lists/1, mixed_lists/1, improper_lists/1, illegal_lists/1, cons_bomb/1, @@ -37,6 +37,13 @@ all() -> illegal_lists, improper_lists, cons_bomb, iolist_to_iovec_idempotence, iolist_to_iovec_correctness]. +init_per_suite(Config) -> + Config. + +end_per_suite(Config) -> + application:stop(os_mon), + Config. + integer_lists(Config) when is_list(Config) -> Variations = gen_variations([I || I <- lists:seq(1, 255)]), |