aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh/fix-CVE-2016-8858.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-01-17 23:55:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:47:22 +0000
commita304b94eae99ade6d99800eeaf588c48d01506f6 (patch)
tree4a829c054e133092164ee7b7b2291114b21b8057 /meta/recipes-connectivity/openssh/openssh/fix-CVE-2016-8858.patch
parent81c3d4824af983029e9621fbdb377f4cf9aabb5a (diff)
downloadopenembedded-core-contrib-a304b94eae99ade6d99800eeaf588c48d01506f6.tar.gz
oeqa/selftest/devtool: rewrite modify testcase
The modify testcase had to be updated as it started failing when mdadm was upgraded due to hardcoding version numbers in the test. I then noticed how inefficient the test was and mostly rewrote it. Start by changing the minor modification to change "Linux Software RAID" (the subtitle of the man page) to "antique pin sardine" (a nonsense phrase that is unlikely to appear upstream), and neaten the logic. Start by not removing sstate at the beginning of the test. To ensure builds happen we can use -f and -C, and iterating the sstate cache is time consuming. Don't bitbake mdadm repeatedly until it stabilizes, we can start with bitbake -C unpack to ensure that a full build is done from scratch. os.path.join has the interesting quirk that join(/foo, /bar) results in /bar, so use oe.path.join instead of working around that manually. Don't repeatedly call get_bb_var(), each call results in a call to bitbake. These changes reduce the runtime of the test from over 600 seconds to around 160 seconds on my machine. (From OE-Core rev: fc97963bc61bf16112859fe1d7e460a13d34baca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/fix-CVE-2016-8858.patch')
0 files changed, 0 insertions, 0 deletions