1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
# smoke tests
Tests: test-ufw.py
Restrictions: needs-root, allow-stderr, isolation-machine
# smoke tests for running in a container. Note: as of 2020-03-02, Debian
# CI does not provide isolation-machine, but isolation-container doesn't work
# on (at least) arm64. While we can simply run tests in a VM prior to upload,
# attempt running modified tests (ie, where ip_tables and ip6_tables are
# are loaded in the kernel) with isolation-container on amd64 (the test will
# verify the arch) since isolation-container appears to work there. If this
# results in a flaky test, we might need to remove this and wait for
# isolation-machine to become available
Architecture: amd64
Test-Command: python3 debian/tests/test-ufw.py --container
Restrictions: needs-root, allow-stderr, isolation-container
# root unittests under python3
Tests: root-unittest
Depends: iptables,
netbase,
procps,
sed,
python3,
python3-setuptools,
Restrictions: needs-root, allow-stderr, isolation-machine, build-needed, rw-build-tree
# unittests under python3
Tests: unittest
Depends: iptables,
netbase,
procps,
sed,
python3,
python3-setuptools,
dh-python,
Restrictions: allow-stderr, build-needed, rw-build-tree
|