summaryrefslogtreecommitdiffstats
path: root/debian/tests/amd64-ata-only
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/amd64-ata-only22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/tests/amd64-ata-only b/debian/tests/amd64-ata-only
new file mode 100755
index 0000000..b91601e
--- /dev/null
+++ b/debian/tests/amd64-ata-only
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+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_amd64