~pkopylov/qa-regression-testing:fix-test-cups

Last commit made on 2023-01-26
Get this branch:
git clone -b fix-test-cups https://git.launchpad.net/~pkopylov/qa-regression-testing
Only Pavel Kopylov can upload to this branch. If you are Pavel Kopylov please log in for upload directions.

Branch merges

Branch information

Name:
fix-test-cups
Repository:
lp:~pkopylov/qa-regression-testing

Recent commits

fc4d872... by Pavel Kopylov

scripts/test-cups.py: restart the apparamor before testing for ubuntu16.

ff6260e... by Pavel Kopylov

scripts/test-cups.py: remove valgrind from package list because
it isn't used, instead add apparmor-utils.

b4a0304... by Alex Murray

scripts/test-snapd.py: Add functional test for /tmp/snap-private-tmp

This comes from the fix for CVE-2022-3328

Signed-off-by: Alex Murray <email address hidden>

0b01938... by Alex Murray

scripts/test-snapd.py: Fix checking of snapd version in test_seccomp_daemon_user

Signed-off-by: Alex Murray <email address hidden>

ce77bc5... by Alex Murray

scripts/test-snapd.py: Skip test_seccomp_daemon_user test on older snapd

Signed-off-by: Alex Murray <email address hidden>

301d59d... by Alex Murray

scripts/test-snapd.py: Actually exit with error on test failures

Signed-off-by: Alex Murray <email address hidden>

fac818d... by Alex Murray

scripts/test-snapd.py: Support testing on older snapd versions

Older versions of snapd (such as in Debian buster) may only output the grade or
only the channel name (instead of the complete track name - which is
"<channel>/<grade>") in snap info - so ensure the tests can support this older
format.

Signed-off-by: Alex Murray <email address hidden>

699f269... by Po-Hsu Lin

test-apparmor.py: make sure opened files are closed

Use with open to make sure files will be closed properly.

Signed-off-by: Po-Hsu Lin <email address hidden>

3f41d92... by Alex Murray

scripts/test-snapd.py: Add support for private tests

Signed-off-by: Alex Murray <email address hidden>

897920f... by Alex Murray

scripts/test-snapd.py: Support testing on non-Ubuntu distributions

Signed-off-by: Alex Murray <email address hidden>