summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-05-08 10:56:04 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-05-08 10:56:04 +0200
commitb58fd12a1ec8bada69d548730b481d907ccdccdd (patch)
tree62af6b6625f120919a98e8e97b5adb1d618938a0 /lib
parentd1e93041f5dda64631433a28491a2cbe689b99d3 (diff)
downloadmeta-updater-b58fd12a1ec8bada69d548730b481d907ccdccdd.tar.gz
Fix bad ptest printing of failurestest/fix-aktualizr-python-ptest
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
index 8783fe0..0f0f491 100644
--- a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
+++ b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
@@ -45,7 +45,7 @@ class PtestTests(OESelftestTestCase):
45 has_failure = re.search('^FAIL', output, flags=re.MULTILINE) is not None 45 has_failure = re.search('^FAIL', output, flags=re.MULTILINE) is not None
46 if has_failure: 46 if has_failure:
47 print("Full test suite log:") 47 print("Full test suite log:")
48 stdout, _, _ = self.qemu_command('sh -c "cat /tmp/aktualizr-ptest.log || cat /tmp/aktualizr-ptest.log.tmp"', timeout=None) 48 stdout, _, _ = self.qemu_command('cat /tmp/aktualizr-ptest.log || cat /tmp/aktualizr-ptest.log.tmp', timeout=None)
49 print(stdout.decode()) 49 print(stdout.decode())
50 50
51 self.assertEqual(retcode, 0) 51 self.assertEqual(retcode, 0)