diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 13:54:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 13:54:53 +0000 |
commit | 23854482416e18b763add64d2d7f3589f6459591 (patch) | |
tree | 656a46cba09c7f5f1f33beb198343b2526b55f29 /debian/tests | |
parent | Releasing progress-linux version 060+5-1~progress7.99u1. (diff) | |
download | dracut-23854482416e18b763add64d2d7f3589f6459591.tar.xz dracut-23854482416e18b763add64d2d7f3589f6459591.zip |
Merging debian version 060+5-2~exp1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 70 | ||||
-rwxr-xr-x | debian/tests/run-upstream-tests | 18 |
2 files changed, 88 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..07809ed --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,70 @@ +# Skip following test cases: +# * TEST-14-IMSM: dmraid was removed from Debian +# * TEST-20-NFS: https://github.com/dracutdevs/dracut/issues/1901 +# * TEST-30-ISCSI: https://github.com/dracutdevs/dracut/issues/2497 +# * TEST-35-ISCSI-MULTI: https://github.com/dracutdevs/dracut/issues/2498 +# * TEST-50-MULTINIC: disabled in upstream CI since 2023-01-02 +# * TEST-60-BONDBRIDGEVLAN: https://github.com/dracutdevs/dracut/issues/2328 +# arm64, armhf, ppc64el, and s390x need upstream support: https://github.com/dracutdevs/dracut/issues/2493 +Architecture: amd64 +Test-Command: debian/tests/run-upstream-tests SKIP="14 16 20 30 35 40 50 60" +Depends: btrfs-progs, + busybox, + cryptsetup, + dracut-core, + fdisk, + gawk, + kbd, + linux-image-generic, + lvm2, + make, + mdadm, + mount, + qemu-kvm, + systemd-boot-efi, + systemd-sysv, + util-linux +Restrictions: allow-stderr +Features: test-name=upstream-dracut-core + +Architecture: amd64 +Test-Command: debian/tests/run-upstream-tests TESTS="16" +Depends: btrfs-progs, + busybox, + dracut-live, + fdisk, + kbd, + linux-image-generic, + make, + mount, + parted, + qemu-kvm, + squashfs-tools, + systemd-sysv, + util-linux +Restrictions: allow-stderr +Features: test-name=upstream-dracut-live + +Architecture: amd64 +Test-Command: debian/tests/run-upstream-tests TESTS="40" +Depends: cryptsetup, + dracut-network, + gawk, + iproute2, + iputils-ping, + isc-dhcp-client, + isc-dhcp-server, + linux-image-generic, + lvm2, + make, + mdadm, + mount, + nbd-client, + nbd-server, + procps, + qemu-kvm, + systemd-sysv, + util-linux, + vim +Restrictions: allow-stderr +Features: test-name=upstream-dracut-network diff --git a/debian/tests/run-upstream-tests b/debian/tests/run-upstream-tests new file mode 100755 index 0000000..5dce6cf --- /dev/null +++ b/debian/tests/run-upstream-tests @@ -0,0 +1,18 @@ +#!/bin/sh +set -eu + +if test -n "${AUTOPKGTEST_TMP-}"; then + export TMPDIR="${AUTOPKGTEST_TMP}" +fi + +# shellcheck disable=SC2012 +KVERSION=$(cd /lib/modules; ls -1 | tail -1) +export KVERSION +export DRACUT=dracut +export PKGLIBDIR=/usr/lib/dracut + +# Prapare out-of-tree test directory +TESTDIR="$(mktemp -d -t dracut-test.XXXXXXXXXX)" +cp -r test/* "$TESTDIR" + +make -C "$TESTDIR" V=1 check "$@" |