summaryrefslogtreecommitdiffstats
path: root/debian/tests/amd64-klibc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:45:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:45:08 +0000
commitf866c40aef35932863d4cb9f22859641227c9b60 (patch)
tree916091dcb4e1c863c6e666133f0d32244e2d84eb /debian/tests/amd64-klibc
parentAdding upstream version 0.142. (diff)
downloadinitramfs-tools-debian/0.142.tar.xz
initramfs-tools-debian/0.142.zip
Adding debian version 0.142.debian/0.142debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/amd64-klibc19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/tests/amd64-klibc b/debian/tests/amd64-klibc
new file mode 100755
index 0000000..281f995
--- /dev/null
+++ b/debian/tests/amd64-klibc
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+SUPPORTED_FLAVOURS='amd64 generic'
+. debian/tests/test-common
+
+cat >>"${CONFDIR}/initramfs.conf" <<EOF
+MODULES=most
+BUSYBOX=n
+FSTYPE=ext2
+EOF
+build_initramfs
+! lsinitramfs "${INITRAMFS}" | grep -qw busybox
+
+build_rootfs_ext2
+
+run_qemu_amd64
+
+# Check that fsck ran
+grep -q "^/dev/${ROOTDISK_LINUX_NAME}: clean," "${OUTPUT}"