diff options
Diffstat (limited to 'debian/tests/qemu-virtio-only')
-rwxr-xr-x | debian/tests/qemu-virtio-only | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/tests/qemu-virtio-only b/debian/tests/qemu-virtio-only new file mode 100755 index 0000000..79670cd --- /dev/null +++ b/debian/tests/qemu-virtio-only @@ -0,0 +1,23 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 arm64 armmp powerpc64 s390x generic' +ROOTDISK_QEMU_IF=virtio +ROOTDISK_LINUX_NAME=vda +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=list +BUSYBOX=n +FSTYPE=ext2 +EOF +cat >"${CONFDIR}/modules" <<EOF +ext2 +virtio_pci +virtio_blk +EOF +build_initramfs + +build_rootfs_ext2 + +run_qemu +check_no_network_configuration |