Blame SOURCES/nss-pam-ldapd-rh-msgs-in-tests.patch

c82b94
diff -up nss-pam-ldapd-0.8.13/tests/test_pamcmds.expect.rh_test_msgs nss-pam-ldapd-0.8.13/tests/test_pamcmds.expect
c82b94
--- nss-pam-ldapd-0.8.13/tests/test_pamcmds.expect.rh_test_msgs	2014-01-20 15:32:33.253018468 +0100
c82b94
+++ nss-pam-ldapd-0.8.13/tests/test_pamcmds.expect	2014-01-20 15:38:00.452957296 +0100
c82b94
@@ -40,7 +40,7 @@ proc reset_password {} {
c82b94
   expect {
c82b94
     "LDAP administrator password" { send "test\r"; exp_continue }
c82b94
     -regexp "(New|Retype new) password:" { send "test\r"; exp_continue }
c82b94
-    "password updated successfully" {}
c82b94
+    "passwd: all authentication tokens updated successfully" {}
c82b94
     "Invalid credentials" abort
c82b94
     "Authentication token manipulation error" abort
c82b94
     default abort
c82b94
@@ -114,7 +114,7 @@ proc test_login_unknown {uid passwd} {
c82b94
   expect {
c82b94
     "Password:" { send "$passwd\r"; exp_continue }
c82b94
     "Unknown id" {}
c82b94
-    "No passwd entry for user" {}
c82b94
+    "su: user $uid does not exist" {}
c82b94
     "\$ " abort
c82b94
     default abort
c82b94
   }
c82b94
@@ -156,7 +156,7 @@ expect {
c82b94
 }
c82b94
 expect {
c82b94
   -regexp "(New|Retype new) password:" { send "newpassword\r"; exp_continue }
c82b94
-  "password updated successfully" {}
c82b94
+  "passwd: all authentication tokens updated successfully" {}
c82b94
   "Invalid credentials" abort
c82b94
   "Authentication token manipulation error" abort
c82b94
   "\$ " abort