aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-27 08:14:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-27 08:14:21 +0200
commit54eed43122750e81367d91e52ae672f5115e7945 (patch)
tree5704f3b7ca00cb1b2bdd26f5a6ac89e9eb808ff3
parent1647f89e63fe8e3f16af8b194430f405fc37683f (diff)
Use monitor instead of QPM in test-machine scripts
This allows us to test system_powerdown.
-rwxr-xr-xtest-machine6
-rwxr-xr-xtest-machine-aarch64-m16
2 files changed, 8 insertions, 4 deletions
diff --git a/test-machine b/test-machine
index cdd6001..597d83c 100755
--- a/test-machine
+++ b/test-machine
@@ -77,11 +77,13 @@ fi
-usb \
-device usb-tablet \
\
- -chardev stdio,id=qmp \
- -mon chardev=qmp,mode=control,pretty=on \
+ -monitor stdio \
\
-boot c "$@"
+ #-chardev stdio,id=qmp \
+ #-mon chardev=qmp,mode=control,pretty=on \
+
# -chardev socket,id=mon,path=/tmp/test-machine-sock,server,nowait \
# -mon chardev=mon,mode=readline \
diff --git a/test-machine-aarch64-m1 b/test-machine-aarch64-m1
index 990f5a8..62248b2 100755
--- a/test-machine-aarch64-m1
+++ b/test-machine-aarch64-m1
@@ -105,11 +105,13 @@ fi
\
-vnc :1 \
\
- -chardev stdio,id=qmp \
- -mon chardev=qmp,mode=control,pretty=on \
+ -monitor stdio \
\
-boot c "$@"
+# -chardev stdio,id=qmp \
+# -mon chardev=qmp,mode=control,pretty=on \
+
if [ -z "$etap" ]; then
sudo ip tuntap delete "$tap" mode tap
fi