summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-02-09 11:00:06 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-02-09 11:00:06 +0100
commit6096eaff378d20e67f92b511664e82b6094473fa (patch)
tree3e2fd3f03e77baba7b5d848f83c3e5d9bbe85047 /debian/tests
parent50e9c55341d541b02883b51a32bd7266989a5434 (diff)
downloaddebvm-6096eaff378d20e67f92b511664e82b6094473fa.tar.gz
autopkgtest: improve unprivieleged unshare condition
Thanks to Johannes Schauer for trying it on debci and seeing that it properly tests the environment.
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control
index 67f580b..d2a496d 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -4,7 +4,7 @@ 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
+Test-Command: unshare -U -m -p -f -r --mount-proc true || exit 77; ./tests/create-and-run.sh $(dpkg --print-architecture) sid
Depends: debvm, file, openssh-client, seabios [ppc64el], uidmap
Restrictions: allow-stderr, needs-internet, skippable
# Skip running on armel and armhf as the emulation is too slow there to actually work.