summaryrefslogtreecommitdiffstats
path: root/debian/tests/amd64-klibc
blob: 281f9956246dccdea7cb68fb4da0d96632d332ab (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=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}"