aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/crashdump_viewer_SUITE.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2014-05-28 12:11:11 +0200
committerSiri Hansen <[email protected]>2014-05-28 12:11:11 +0200
commitdfbfe7fa8256a3b78d12b8d92b94e955039ca20f (patch)
treeee289825dec2520722105f8f79804b2f45a3e559 /lib/observer/test/crashdump_viewer_SUITE.erl
parent0d0d642ba596d4bb92549e01d29b7295bd5a4698 (diff)
parent235d02334181df0bed92b8c6af07d092627691fe (diff)
downloadotp-dfbfe7fa8256a3b78d12b8d92b94e955039ca20f.tar.gz
otp-dfbfe7fa8256a3b78d12b8d92b94e955039ca20f.tar.bz2
otp-dfbfe7fa8256a3b78d12b8d92b94e955039ca20f.zip
Merge branch 'maint'
Diffstat (limited to 'lib/observer/test/crashdump_viewer_SUITE.erl')
-rw-r--r--lib/observer/test/crashdump_viewer_SUITE.erl10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl
index 4700dc4bab..1266b1f9b9 100644
--- a/lib/observer/test/crashdump_viewer_SUITE.erl
+++ b/lib/observer/test/crashdump_viewer_SUITE.erl
@@ -385,8 +385,14 @@ special(File,Procs) ->
{ok,[_Ets=#ets_table{}],[]} = crashdump_viewer:ets_tables(Pid),
io:format(" ets tables ok",[]),
- {ok,[_Timer=#timer{}],[]} = crashdump_viewer:timers(Pid),
- io:format(" timers ok",[]),
+
+ {ok,[#timer{pid=Pid0,name=undefined},
+ #timer{pid=Pid0,name="aaaaaaaa"}],[]} =
+ crashdump_viewer:timers(Pid),
+ {ok,AllTimers,_TimersTW} = crashdump_viewer:timers(all),
+ #timer{name="noexistproc"} =
+ lists:keyfind(undefined,#timer.pid,AllTimers),
+ io:format(" timers ok:",[]),
{ok,Mod1=#loaded_mod{},[]} =
crashdump_viewer:loaded_mod_details(atom_to_list(?helper_mod)),