aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kadmin/passwd/unit-test/ChangeLog6
-rw-r--r--src/kadmin/passwd/unit-test/kpasswd.0/changing.exp3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/kadmin/passwd/unit-test/ChangeLog b/src/kadmin/passwd/unit-test/ChangeLog
index 5f39ff2..fd35252 100644
--- a/src/kadmin/passwd/unit-test/ChangeLog
+++ b/src/kadmin/passwd/unit-test/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-23 Tom Yu <tlyu@mit.edu>
+
+ * kpasswd.0/changing.exp: Add a sleep to avoid a race with the
+ setup script. If this isn't here, it is possible that the initial
+ change of pol2's password may happen too soon.
+
2000-02-07 Tom Yu <tlyu@mit.edu>
* lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flag
diff --git a/src/kadmin/passwd/unit-test/kpasswd.0/changing.exp b/src/kadmin/passwd/unit-test/kpasswd.0/changing.exp
index 27b4e6d..3466b92 100644
--- a/src/kadmin/passwd/unit-test/kpasswd.0/changing.exp
+++ b/src/kadmin/passwd/unit-test/kpasswd.0/changing.exp
@@ -89,6 +89,9 @@ test_win {pol1} {successful change} pol1 polAAAAAA polBBBBBB
test_win {pol1} {successful change} pol1 polBBBBBB polCCCCCC
test_win {pol1} {successful change} pol1 polCCCCCC pol111111
+verbose "(sleeping 30 seconds)"
+catch "exec sleep 30"
+
test_win {pol2} {successful change} pol2 pol222222 polbbbbbb
test_3pass {pol2} {D.15: too soon to change password} pol2 \