blob: 3b6094c4018bbe0e4661061dbdecbb01389cedfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}"
|