Commit graph

33 commits

Author SHA1 Message Date
c82fc7e261
format shell scripts with shfmt --binary-next-line --case-indent --indent 2 --simplify 2024-10-11 18:32:57 +02:00
767e8a8bfb
run_qemu.sh: allow setting MMDEBSTRAP_TESTS_DEBUG and add auto-detection for amlogic a311d bananapi 2024-06-03 08:04:03 +02:00
884a04b18a
make_mirror.sh: disable networking 2024-01-08 22:56:55 +01:00
136cbdf0f1
run_qemu.sh: replace storing the pid and kill it a trap by using 'setpriv --pdeathsig TERM' 2024-01-08 22:25:07 +01:00
956dcb42e1
switch from guestfish to debvm 2023-06-21 07:54:07 +02:00
ebd0f282fd
run_qemu.sh: output log while test is running with tail -f 2023-01-16 12:06:20 +01:00
de8e31193b
make_mirror.sh: output log and exit status to two individual files 2023-01-16 07:54:03 +01:00
847d8fe95b
make shellcheck 0.9.0-1 happy 2022-12-25 01:06:00 +01:00
4dc1375840
run_qemu.sh: remove accidental qemu option from aavmf code filename 2022-11-17 11:38:17 +01:00
c3aa679fec
run_qemu.sh: short-form boolean option 'read-only' deprecated, using read-only=on instead 2022-11-17 11:35:43 +01:00
a156d93314
run_qemu.sh: bump timeout to 40 minutes so that it works on an ARM Cortex-A53 at 1.5 GHz 2022-11-15 14:47:59 +01:00
24c5a45202
make_mirror.sh: switch from extlinux to grub-efi to support arm64 2022-11-15 14:47:38 +01:00
bcb3fcdaf1
run_qemu.sh: add another example for how to connect to qemu via serial 2022-10-16 15:31:10 +02:00
bf31355c62
run_qemu.sh: run timeout with --foreground so that qemu can receive sigint and quit immediately 2022-06-04 08:25:32 +02:00
6ec09c27ca
coverage.sh: mount tmpfs as workaround for #1010957 2022-05-22 02:51:58 +02:00
454121acb1
run_qemu.sh: use -cpu host as a workaround for #1011003 and because it's faster 2022-05-22 02:51:10 +02:00
d947f765df
run_qemu.sh: add 20m timeout and print qemu log on failure 2020-11-26 23:45:08 +01:00
126c399d30
run_qemu.sh: explicitly convert to qcow2 2020-11-26 23:44:42 +01:00
a4b070e4dc
run_qemu.sh: use /dev/urandom as source for randomness 2020-01-03 15:56:49 +01:00
c20056d48f
run_qemu.sh: use virtio disk and network 2020-01-03 15:56:25 +01:00
7815fd16e6
run_qemu.sh: run qemu with -no-user-config 2020-01-03 15:52:25 +01:00
06d08607cc
run_qemu.sh: let qemu autodetect if kvm is available and fall back to tcg 2020-01-03 10:41:52 +01:00
ea8315a5f1
coverage.sh: allow setting chroot distribution with DEFAULT_DIST 2019-03-25 14:21:55 +01:00
6c39fe8b5a
coverage.sh: add test for aspcud external apt solver 2019-03-24 08:16:45 +01:00
643152ec16
run_qemu.sh: add comment with an example of how to connect to qemu serial unix socket 2018-12-30 17:14:15 +01:00
c670f51826
run_qemu.sh: if the run is aborted, then the last line is likely not an integer, thus compare strings instead of numbers 2018-12-30 17:13:46 +01:00
b113771a81
make_mirror.sh: never leave the cache in an inconsistent state by atomically switching symlinks 2018-12-30 16:37:03 +01:00
fa3719eaeb
run_qemu.sh: use an exit trap for reporting the result and cleanup
This will prevent any leftover files in case of a sudden error or
ctrl+c.
2018-12-27 14:14:07 +01:00
f25dc399c2
run_qemu.sh: only add -enable-kvm if /dev/kvm exists 2018-12-04 09:05:00 +01:00
0cc9e3b44a
make_mirror.sh,run_qemu.sh: use temporary directory for temporary files instead of the current working directory 2018-11-23 17:44:59 +01:00
eaaa0b109d
run_qemu.sh: pass absolute path to qemu-img because otherwise the backing image will be searched relative to the overlay 2018-11-23 17:41:29 +01:00
ff3e66e37c
run_qemu.sh: run with set -eu 2018-11-23 17:40:17 +01:00
935f5b7a66
Instead of requiring root, use qemu
- unprivileged creation of rootfs using guestfish
 - allows full control over network, installed packages
 - merged test.sh into coverage.sh
2018-11-21 00:21:43 +01:00