From 6410427a38ced543b9436a20264a12835b7319f6 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 18 Apr 2008 21:38:11 +0000 Subject: [PATCH] rotate logfile before booting --- qaapi/qa/tests/boot_node.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qaapi/qa/tests/boot_node.py b/qaapi/qa/tests/boot_node.py index 3d2f321..3882d88 100644 --- a/qaapi/qa/tests/boot_node.py +++ b/qaapi/qa/tests/boot_node.py @@ -130,6 +130,7 @@ class boot_node(Test): qemu_img_cmd = "qemu-img create -f qcow2 %(diskimage)s %(disk_size)s" % locals() node.host_commands(qemu_img_cmd) + if self.config.verbose: utils.header("Booting %(hostname)s" % locals()) @@ -176,6 +177,9 @@ class boot_node(Test): (status, output) = node.host_commands(kill_cmd) time.sleep(2) + # Rotate node's logfile + node.rotate_logfile() + # launch qemu (self.stdin, self.stdout, self.stderr) = node.host_popen3(bootcmd) -- 2.47.0