aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2010-06-05 20:57:10 +0200
committerRaimo Niskanen <[email protected]>2010-06-09 16:19:24 +0200
commit331bb449c72078c315eff558158478445c4cb888 (patch)
tree8eb6ac24286612ed075a68faa299764cb92197c4 /lib/common_test/test
parentd3a6ecb105706b66f1c0c6b8a515370df5e29bd3 (diff)
downloadotp-331bb449c72078c315eff558158478445c4cb888.tar.gz
otp-331bb449c72078c315eff558158478445c4cb888.tar.bz2
otp-331bb449c72078c315eff558158478445c4cb888.zip
Minor fixes in code and test suites
Diffstat (limited to 'lib/common_test/test')
-rw-r--r--lib/common_test/test/ct_misc_1_SUITE.erl2
-rw-r--r--lib/common_test/test/ct_test_support.erl1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/common_test/test/ct_misc_1_SUITE.erl b/lib/common_test/test/ct_misc_1_SUITE.erl
index e311876fb1..94865b68f0 100644
--- a/lib/common_test/test/ct_misc_1_SUITE.erl
+++ b/lib/common_test/test/ct_misc_1_SUITE.erl
@@ -103,7 +103,7 @@ beam_me_up(Config) when is_list(Config) ->
reformat(Events, ?eh),
?config(priv_dir, Config)),
- TestEvents = events_to_check(beam_me_up),
+ TestEvents = events_to_check(beam_me_up, 1),
ok = ct_test_support:verify_events(TestEvents, Events, Config).
%%%-----------------------------------------------------------------
diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl
index eaf3e23859..b3387e0ccf 100644
--- a/lib/common_test/test/ct_test_support.erl
+++ b/lib/common_test/test/ct_test_support.erl
@@ -280,7 +280,6 @@ verify_events1([TestEv|_], [{TEH,#event{name=stop_logging,node=Node,data=_}}|_],
exit({event_not_found,TestEv});
verify_events1(TEvs = [TestEv | TestEvs], Evs = [_|Events], Node, Config) ->
-%% test_server:format("Next expected event: ~p~n", [TestEv]),
case catch locate(TestEv, Node, Evs, Config) of
nomatch ->
verify_events1(TEvs, Events, Node, Config);