lp://staging/~kissiel/qa-regression-testing/kernel-sec-py3-friendly
- Get this branch:
- bzr branch lp://staging/~kissiel/qa-regression-testing/kernel-sec-py3-friendly
Branch merges
- Alberto Salvia Novella (community): Approve
-
Diff: 270 lines (+42/-34)5 files modifiedscripts/kernel-security/errno-read.py (+8/-5)
scripts/kernel-security/proc-leaks/dac-bypass.py (+5/-5)
scripts/kernel-security/proc-maps/maps-protection.py (+1/-1)
scripts/test-kernel-security.py (+1/-1)
scripts/testlib.py (+27/-22)
Branch information
Recent revisions
- 2559. By Maciej Kisielewski
-
test-kernel-
security. py: use env's python in shebang So it picks appropriate python (e.g. from venv, mocks, or what have you)
- 2555. By Maciej Kisielewski
-
testlib.py make the whole file python3 friendly
This patch makes testlib importable by both py2 and py3. Changes include:
* using print as a function
* explicitly decoding output from std{out,err}
* s/self.assertNotEquals /self.assertNot Equal/
* explicitly closing open files
* using bytes literals instead of strings when used with conjuction with the
raw output of std{out,err} - 2553. By Tyler Hicks
-
test-apparmor.py: Add hack to allow Python utils tests to pass in Xenial
and Yakkety - 2551. By Tyler Hicks
-
test-apparmor.py: Allow for unauthenticated source packages to be downloaded
and used for testing. This is often the case for locally built packages that
are being tested with test-apparmor.py before uploading to the Ubuntu archive. - 2550. By Steve Beattie
-
test-git.py: convert test git trees to tarballs
Wrap up test git trees into tarballs to ease the transition of QRT to
git, as git (correctly) doesn't like embedded git trees.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/qa-regression-testing