nss-pam-ldapd commit: r1433 - nss-pam-ldapd/tests
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1433 - nss-pam-ldapd/tests
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1433 - nss-pam-ldapd/tests
- Date: Sun, 24 Apr 2011 22:27:00 +0200 (CEST)
Author: arthur
Date: Sun Apr 24 22:26:59 2011
New Revision: 1433
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1433
Log:
improve handling of test_login_unknown
Modified:
nss-pam-ldapd/tests/test_pamcmds.expect
Modified: nss-pam-ldapd/tests/test_pamcmds.expect
==============================================================================
--- nss-pam-ldapd/tests/test_pamcmds.expect Fri Apr 22 12:03:50 2011
(r1432)
+++ nss-pam-ldapd/tests/test_pamcmds.expect Sun Apr 24 22:26:59 2011
(r1433)
@@ -111,9 +111,8 @@
# function to do login, expecting FAIL result
proc test_login_unknown {uid passwd} {
send "su - $uid -s /bin/sh\r"
- expect "Password:"
- send "$passwd\r"
expect {
+ "Password:" { send "$passwd\r"; exp_continue }
"Unknown id" {}
"\$ " abort
default abort
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1433 - nss-pam-ldapd/tests,
Commits of the nss-pam-ldapd project