614200e...
by
Georgia Garcia
on 2023-01-03
test-apparmor.py: add patch that fixes posix_ipc tests for non-x86 archs.
On non-x86 systems the posix_ipc tests fail with "Unrecognized option", so
the upstream patch that fixes the test is being added.
Closes LP: #2000359
Signed-off-by: Georgia Garcia <email address hidden>
a9e4346...
by
Steve Beattie
on 2022-12-02
test-sudo.py: fix CVE-2019-14287 tests for slight error format change
In at least jammy and newer sudo reports:
sudo: unknown user #-1
instead of:
sudo: unknown user: #-1
so accept that format as well.
Signed-off-by: Steve Beattie <email address hidden>
80d04d5...
by
Steve Beattie
on 2022-12-02
test-sudo.py: merge fix for unavailable private tests
Fixes: c1296903 ("test-sudo: add support for private tests")
Approved-by: Steve Beattie <email address hidden>
MR: https:/ /code.launchpad .net/~pkopylov/ qa-regression- testing/ +git/qa- regression- testing/ +merge/ 433994
f67eab8...
by
Pavel Kopylov
on 2022-12-02
Fix test-sudo.py to run both variants with and without a private test-suite.
b4a0304...
by
Alex Murray
on 2022-12-01
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
on 2022-11-30
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
on 2022-11-30
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
on 2022-11-30
scripts/ test-snapd. py: Actually exit with error on test failures
Signed-off-by: Alex Murray <email address hidden>
fac818d...
by
Alex Murray
on 2022-11-30
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
on 2022-11-25
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>