From 62474a278bea24502f5a1c69a44dfabcf9c83935 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 5 Feb 2023 16:36:35 +0100 Subject: debian: autopkgtest: do away with fakeroot Use two tests. One in --mode=root and another skippable one in --mode=unshare. The latter will likely be skipped on Debian infrastructure. --- debian/tests/control | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/tests/control b/debian/tests/control index 1ea115d..3b29255 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,8 +1,14 @@ Test-Command: ./tests/create-and-run.sh $(dpkg --print-architecture) sid -# Work around #1029309: qemu-system-misc does not Provide: qemu-kvm [s390x] -# Depend on a fakechroot that fixes #1029490: ldd.fakechroot yields wrong ld.so path -Depends: debvm, fakeroot, fakechroot, fakechroot (>= 2.20.1+ds-9) [ia64 mips64el ppc64 ppc64el s390x], file, libsystemd-shared, openssh-client, seabios [ppc64el], qemu-system-misc [s390x] -Restrictions: allow-stderr, needs-internet +# Versioned qemu dependency for #1029309 +Depends: debvm, file, openssh-client, seabios [ppc64el], qemu-kvm (>= 1:7.2+dfsg-2) +Restrictions: allow-stderr, needs-internet, needs-root +# Skip running on armel and armhf as the emulation is too slow there to actually work. +Architecture: amd64 arm64 i386 mips64el mipsel ppc64el riscv64 s390x + +Test-Command: unshare -U true || exit 77; ./tests/create-and-run.sh $(dpkg --print-architecture) sid +# Versioned qemu dependency for #1029309 +Depends: debvm, file, openssh-client, seabios [ppc64el], qemu-kvm (>= 1:7.2+dfsg-2), uidmap +Restrictions: allow-stderr, needs-internet, skippable # Skip running on armel and armhf as the emulation is too slow there to actually work. Architecture: amd64 arm64 i386 mips64el mipsel ppc64el riscv64 s390x -- cgit v1.2.3