please support --show-boot option in snappy runner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Sometimes it can be really useful to see the output of the boot in a snappy test run. Especially for the failover tests etc.
So it would be nice to have "-serial stdio" instead of "-serial none" in the snappy runnser:
"""
diff --git a/ssh-setup/snappy b/ssh-setup/snappy
index 8f1c5f9..b88afe1 100755
--- a/ssh-setup/snappy
+++ b/ssh-setup/snappy
@@ -138,7 +138,7 @@ open() {
# start QEMU; redirect its stdout/err to a copy of our stderr to avoid the
# setup script becoming a zombie at the end
exec 3>&2
- $QEMU_CMD -snapshot -drive file="$
+ $QEMU_CMD -snapshot -drive file="$
QEMU_PID=$!
echo $QEMU_PID > $port_lock_file
sleep 3
"""
http:// anonscm. debian. org/cgit/ autopkgtest/ autopkgtest. git/commit/ ?id=8411ea5e