This is the test we are using to check if autopkgtest is running in an unprivileged container (as root, with "needs_root" work in debian/tests/control. Since this is the 3rd package already we have to do this test, and SKIP the test if needed, it would be good to have a way to skip test by a keyword in control file, like "no-unpriv-container" or something like it.
NOTE:
ulimit -H -l unlimited 2>/dev/null || { /bugs.launchpad .net/bugs/ 1828228
# https:/
echo "test disabled for unprivileged namespaces"
exit 77
}
This is the test we are using to check if autopkgtest is running in an unprivileged container (as root, with "needs_root" work in debian/ tests/control. Since this is the 3rd package already we have to do this test, and SKIP the test if needed, it would be good to have a way to skip test by a keyword in control file, like "no-unpriv- container" or something like it.