git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351dc49
)
rotate logfile before booting
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Apr 2008 21:38:11 +0000
(21:38 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 18 Apr 2008 21:38:11 +0000
(21:38 +0000)
qaapi/qa/tests/boot_node.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/tests/boot_node.py
b/qaapi/qa/tests/boot_node.py
index
3d2f321
..
3882d88
100644
(file)
--- 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)