summaryrefslogtreecommitdiffstats
path: root/debian/tests/qemu-ata-only
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:43:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:43:00 +0000
commit6032561e9b12b99fa51b4b38bdeee7f831adcaee (patch)
tree30d9958682cf814635ba3fcfe6457463fed91383 /debian/tests/qemu-ata-only
parentAdding upstream version 0.143. (diff)
downloadinitramfs-tools-6032561e9b12b99fa51b4b38bdeee7f831adcaee.tar.xz
initramfs-tools-6032561e9b12b99fa51b4b38bdeee7f831adcaee.zip
Adding debian version 0.143.debian/0.143debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/qemu-ata-only24
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