aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/pam.py
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/oeqa/runtime/pam.py
parent73ce04eb6d538d1a924c6a0867b39cbe44e2f215 (diff)
downloadopenembedded-core-contrib-14a7cde49fa01de8f25f77f365ed7dea71c7c216.tar.gz
openembedded-core-contrib-14a7cde49fa01de8f25f77f365ed7dea71c7c216.tar.bz2
openembedded-core-contrib-14a7cde49fa01de8f25f77f365ed7dea71c7c216.zip
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/oeqa/runtime/pam.py')
-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):
(status, output) = self.target.run('login --help')
self.assertEqual(status, 1, msg = "login command does not work as expected. Status and output:%s and %s" %(status, output))
(status, output) = self.target.run('passwd --help')
- self.assertEqual(status, 6, msg = "passwd command does not work as expected. Status and output:%s and %s" %(status, output))
+ self.assertEqual(status, 0, msg = "passwd command does not work as expected. Status and output:%s and %s" %(status, output))
(status, output) = self.target.run('su --help')
- self.assertEqual(status, 2, msg = "su command does not work as expected. Status and output:%s and %s" %(status, output))
+ self.assertEqual(status, 0, msg = "su command does not work as expected. Status and output:%s and %s" %(status, output))
(status, output) = self.target.run('useradd --help')
- self.assertEqual(status, 2, msg = "useradd command does not work as expected. Status and output:%s and %s" %(status, output))
+ self.assertEqual(status, 0, msg = "useradd command does not work as expected. Status and output:%s and %s" %(status, output))