Re: [OE-core] [PATCH v2 7/7] dnf: expand dnf selftest to test signed package feeds

2017-08-14 Thread Markus Lehtonen
On 14/08/2017, 14.16, "Alexander Kanavin" wrote: On 08/11/2017 06:35 PM, Markus Lehtonen wrote: > > import re > -output_makecache = self.dnf('makecache') > +output_makecache = self.dnf('-y makecache') Why add '-y'? Can you add a comment (

Re: [OE-core] [PATCH v2 7/7] dnf: expand dnf selftest to test signed package feeds

2017-08-14 Thread Alexander Kanavin
On 08/11/2017 06:35 PM, Markus Lehtonen wrote: import re -output_makecache = self.dnf('makecache') +output_makecache = self.dnf('-y makecache') Why add '-y'? Can you add a comment (just prior to this line) explaining what question dnf is asking? +self.as

[OE-core] [PATCH v2 7/7] dnf: expand dnf selftest to test signed package feeds

2017-08-11 Thread Markus Lehtonen
[YOCTO #12099] Signed-off-by: Markus Lehtonen --- meta-selftest/files/signing/key.passphrase | 1 + meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py | 3 ++- meta/lib/oeqa/selftest/cases/runtime_test.py| 12 +++- 3 files changed, 14 insertions(+), 2 deletions(-) cr