diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:29:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:29:49 +0000 |
commit | 67c56c3a28638e52dcb16c58f910682579367093 (patch) | |
tree | 4e18c10d4dc8f987a1ea77be8aebf2075ac4930c /debian/tests/amd64-busybox | |
parent | Adding upstream version 0.140. (diff) | |
download | initramfs-tools-67c56c3a28638e52dcb16c58f910682579367093.tar.xz initramfs-tools-67c56c3a28638e52dcb16c58f910682579367093.zip |
Adding debian version 0.140.debian/0.140debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/amd64-busybox')
-rwxr-xr-x | debian/tests/amd64-busybox | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/tests/amd64-busybox b/debian/tests/amd64-busybox new file mode 100755 index 0000000..3b6094c --- /dev/null +++ b/debian/tests/amd64-busybox @@ -0,0 +1,19 @@ +#!/bin/sh -e + +SUPPORTED_FLAVOURS='amd64 generic' +. debian/tests/test-common + +cat >>"${CONFDIR}/initramfs.conf" <<EOF +MODULES=most +BUSYBOX=y +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}" |