diff options
author | Sverker Eriksson <[email protected]> | 2017-10-03 19:21:15 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-10-03 19:30:40 +0200 |
commit | c0bbf64eeffcfd1aa662ddec4744186862d9ca69 (patch) | |
tree | 4a2e19bb6b10dad82db2c07d449983c9d23dfa5e /lib/kernel/test/code_SUITE.erl | |
parent | 5dfa52ea77f6d71472b3824c4e7782ff61e4fa8c (diff) | |
download | otp-c0bbf64eeffcfd1aa662ddec4744186862d9ca69.tar.gz otp-c0bbf64eeffcfd1aa662ddec4744186862d9ca69.tar.bz2 otp-c0bbf64eeffcfd1aa662ddec4744186862d9ca69.zip |
kernel: Cleanup trace_pattern after code_SUITE:upgrade
Diffstat (limited to 'lib/kernel/test/code_SUITE.erl')
-rw-r--r-- | lib/kernel/test/code_SUITE.erl | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl index 612f77149d..569753155f 100644 --- a/lib/kernel/test/code_SUITE.erl +++ b/lib/kernel/test/code_SUITE.erl @@ -1562,16 +1562,7 @@ on_load_trace_on_load(Config) -> erlang:trace_pattern(on_load, false, []), erlang:trace(self(), false, [call]), - %% WE GET TRACES FOR CALLS TO UNDEFINED FUNCTIONS ??? - %% Remove filter when that is fixed. - Ms = lists:filter(fun({trace,Papa,call, - {error_handler,undefined_function, - [on_load_update_code,_,_]}}) - -> false; - (_) -> true - end, - flush()), - + Ms = flush(), [{trace, Papa, call, {on_load_update_code, a, []}}, {trace, Papa, call, {on_load_update_code, b, [99]}}, {trace, Papa, call, {on_load_update_code, c, []}}] = Ms, |