~pkopylov/qa-regression-testing:testlib_recursive_rm

Last commit made on 2022-12-22
Get this branch:
git clone -b testlib_recursive_rm 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:
testlib_recursive_rm
Repository:
lp:~pkopylov/qa-regression-testing

Recent commits

e5bcbd8... by Pavel Kopylov

scripts/testlib.py: import necessary modules.

6eb7f57... by Pavel Kopylov

scripts/testlib.py: recursive_rm() was improved to delete huge
directory's structure where files/subdirectories can appear
suddenly during the deleting process.

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>