summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/runtime/rpm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime/rpm.py
index 32aae24232..624c515aad 100644
--- a/meta/lib/oeqa/runtime/rpm.py
+++ b/meta/lib/oeqa/runtime/rpm.py
@@ -52,11 +52,11 @@ class RpmInstallRemoveTest(oeRuntimeTest):
@skipUnlessPassed('test_ssh')
def test_rpm_query_nonroot(self):
(status, output) = self.target.run('useradd test1')
- self.assertTrue(status == 0, msg="Failed to create new user")
+ self.assertTrue(status == 0, msg="Failed to create new user: " + output)
(status, output) = self.target.run('sudo -u test1 id')
self.assertTrue('(test1)' in output, msg="Failed to execute as new user")
(status, output) = self.target.run('sudo -u test1 rpm -qa')
- self.assertEqual(status, 0, msg="status: %s. Cannot run rpm -qa" % status)
+ self.assertEqual(status, 0, msg="status: %s. Cannot run rpm -qa: %s" % (status, output))
@testcase(195)
@skipUnlessPassed('test_rpm_install')