From 6096eaff378d20e67f92b511664e82b6094473fa Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 9 Feb 2023 11:00:06 +0100 Subject: autopkgtest: improve unprivieleged unshare condition Thanks to Johannes Schauer for trying it on debci and seeing that it properly tests the environment. --- debian/tests/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') 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. -- cgit v1.2.3