summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-25 17:29:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-25 17:29:23 +0100
commit14a7cde49fa01de8f25f77f365ed7dea71c7c216 (patch)
treec9a4cb03fc082dae259567d3f1a7476b8c44a2f1 /meta/lib
parent73ce04eb6d538d1a924c6a0867b39cbe44e2f215 (diff)
downloadpoky-14a7cde49fa01de8f25f77f365ed7dea71c7c216.tar.gz
lib/oeqa: Fix accidental revert of code
(From OE-Core rev: 188545ba82119d75f80dde322a73712ce1f0f762) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/pam.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/pam.py b/meta/lib/oeqa/runtime/pam.py
index ae50f79061..c8205c9abc 100644
--- a/meta/lib/oeqa/runtime/pam.py
+++ b/meta/lib/oeqa/runtime/pam.py
@@ -18,8 +18,8 @@ class PamBasicTest(oeRuntimeTest):
18 (status, output) = self.target.run('login --help') 18 (status, output) = self.target.run('login --help')
19 self.assertEqual(status, 1, msg = "login command does not work as expected. Status and output:%s and %s" %(status, output)) 19 self.assertEqual(status, 1, msg = "login command does not work as expected. Status and output:%s and %s" %(status, output))
20 (status, output) = self.target.run('passwd --help') 20 (status, output) = self.target.run('passwd --help')
21 self.assertEqual(status, 6, msg = "passwd command does not work as expected. Status and output:%s and %s" %(status, output)) 21 self.assertEqual(status, 0, msg = "passwd command does not work as expected. Status and output:%s and %s" %(status, output))
22 (status, output) = self.target.run('su --help') 22 (status, output) = self.target.run('su --help')
23 self.assertEqual(status, 2, msg = "su command does not work as expected. Status and output:%s and %s" %(status, output)) 23 self.assertEqual(status, 0, msg = "su command does not work as expected. Status and output:%s and %s" %(status, output))
24 (status, output) = self.target.run('useradd --help') 24 (status, output) = self.target.run('useradd --help')
25 self.assertEqual(status, 2, msg = "useradd command does not work as expected. Status and output:%s and %s" %(status, output)) 25 self.assertEqual(status, 0, msg = "useradd command does not work as expected. Status and output:%s and %s" %(status, output))