summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-12-10 11:29:00 +0000
committerMatthias Radestock <matthias@lshift.net>2008-12-10 11:29:00 +0000
commit49f1e0bd5c520e1a0cf257c2b24971f559b01086 (patch)
treedf355d384e5b4885470b3a9f74019d049b63145f
parent9e856b566a5af22d22a31ca710308095208b9276 (diff)
downloadrabbitmq-server-49f1e0bd5c520e1a0cf257c2b24971f559b01086.tar.gz
prettier output in tests
-rw-r--r--src/rabbit_tests.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 2b53a52c..65d16c94 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -526,7 +526,11 @@ test_server_status() ->
control_action(Command, Args) -> control_action(Command, node(), Args).
control_action(Command, Node, Args) ->
- case catch rabbit_control:action(Command, Node, Args, fun io:format/2) of
+ case catch rabbit_control:action(
+ Command, Node, Args,
+ fun (Format, Args1) ->
+ io:format(Format ++ " ...~n", Args1)
+ end) of
ok ->
io:format("done.~n"),
ok;