diff options
Diffstat (limited to 'debian/tests/qemu-ata-only')
-rwxr-xr-x | debian/tests/qemu-ata-only | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/tests/qemu-ata-only b/debian/tests/qemu-ata-only new file mode 100755 index 0000000..ef742a5 --- /dev/null +++ b/debian/tests/qemu-ata-only @@ -0,0 +1,24 @@ +#!/bin/sh -e + +# Note: The qemu machines used on arm64, armhf, ppc64el, and s390x have no IDE +SUPPORTED_FLAVOURS='amd64 generic' +ROOTDISK_QEMU_IF=ide +ROOTDISK_LINUX_NAME=sda +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=list +BUSYBOX=n +FSTYPE=ext2 +EOF +cat >"${CONFDIR}/modules" <<EOF +ext2 +ata_piix +sd_mod +EOF +build_initramfs + +build_rootfs_ext2 + +run_qemu +check_no_network_configuration |