# The primary tests require a VM for full coverage, but running in a container provides
# almost complete coverage. To maximize the number of tests able to run on the CI
# instances, we selectively disable some tests if we detect we're running in a container.
Tests: lxc-tests
Depends: adduser,
         busybox-static,
         debootstrap,
         dirmngr,
         dnsmasq-base,
         file,
         gnupg,
         iptables,
         rsync,
         sudo,
         uidmap,
         xz-utils,
         @
Restrictions: needs-root, allow-stderr, isolation-container

Tests: unprivileged-containers
Depends: distro-info, uidmap, wget, xz-utils, @
Restrictions: allow-stderr, isolation-machine, needs-internet

Tests: basics-create-destroy
Depends: busybox-static, @
Restrictions: allow-stderr, needs-root, superficial

Tests: no-devel
Depends: lxc-dev
Restrictions: allow-stderr
