summaryrefslogtreecommitdiff
path: root/debian/tests/control
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-02-05 16:36:35 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-02-05 16:36:35 +0100
commit62474a278bea24502f5a1c69a44dfabcf9c83935 (patch)
tree861b112882bba1b78184566dd50f9a48cd9729c5 /debian/tests/control
parent69ea90a73785cde10035c2ab36322e2466ff7ba2 (diff)
downloaddebvm-62474a278bea24502f5a1c69a44dfabcf9c83935.tar.gz
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.
Diffstat (limited to 'debian/tests/control')
-rw-r--r--debian/tests/control14
1 files 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