test-libpng: Update libpng tests with different PngSuite files
The previous ftp.simplesystems.org/pub/libpng/png/images/suite/
is not active anymore, so it was updated to schaik.com/pngsuite.
A few other updates:
- Some PNG files that used to removed due to failures does not
need to be removed anymore as with the new suite it does not
fail;
- Test Bad PNG was updated to test all bad files using same
pattern instead of the tests based on the specific files;
- Added another '-v' in pngcrush execution because in some
Ubuntu releases the text used to search and assert was
only included with more detailed information than usual
(tested with all releases and it seems to work ok);
The earliest release we're going to publish openjdk updates for is
xenial, so this really ought to be converted to python3, but the
dependencies involved need to be fixed up.
Signed-off-by: Steve Beattie <email address hidden>
The test for CVE-2021-3800 is checking for the output of pkexec binary
(from policykit-1 package) to validate if GLib is patched correctly.
With a crafted charset alias, it should not print GLib errors.
test-docker.io.py: merge added CVE-2021-41092 regression test
* tests/dockerio-cve-2021-41092:
Replace shell /etc/hosts modification with testlib.config_replace()
Ensure certificate is added and add registry host to daemon.json conf
Update to dynamically generate cert/key each test run
Add python3-pexpect to QRT dependencies
Add test for CVE-2021-41092
[sbeattie - fixed up a couple of issues with the following commits:
test-docker.io.py: use ssl.PROTOCOL_TLSv1_2 in xenial and older
test-docker.io.py: fix QRT-Packages separator
and added to silence deprecation warnings:
test-docker.io.py: use testunit.assertRegex instead of assertRegexpMatches
]