diff mbox

[KVM-AUTOTEST,06/26] KVM test: clock_getres: fix dmesg logging

Message ID 1294751618-21631-6-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish Jan. 11, 2011, 1:13 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/tests/clock_getres.py b/client/tests/kvm/tests/clock_getres.py
index 1a762e5..5ab4d33 100644
--- a/client/tests/kvm/tests/clock_getres.py
+++ b/client/tests/kvm/tests/clock_getres.py
@@ -35,5 +35,4 @@  def run_clock_getres(test, params, env):
     vm.copy_files_to(test_clock, base_dir)
     session.cmd(os.path.join(base_dir, t_name))
     logging.info("PASS: Guest reported appropriate clock resolution")
-    logging.info("guest's dmesg:")
-    session.cmd_output("dmesg")
+    logging.info("Guest's dmesg:\n%s" % session.cmd_output("dmesg").strip())