summaryrefslogtreecommitdiff
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:10 +0100
commit188545ba82119d75f80dde322a73712ce1f0f762 (patch)
tree8cd083928b4fb0e992832a73604094bdaa60b9f2
parent30266a0be946bd0ce76d6920e7afe840c6c3bf80 (diff)
downloadopenembedded-core-188545ba82119d75f80dde322a73712ce1f0f762.tar.gz
openembedded-core-188545ba82119d75f80dde322a73712ce1f0f762.tar.bz2
openembedded-core-188545ba82119d75f80dde322a73712ce1f0f762.zip
lib/oeqa: Fix accidental revert of code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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))