aboutsummaryrefslogtreecommitdiff
path: root/src/kadmin
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-02-23 05:18:48 +0000
committerTom Yu <tlyu@mit.edu>2000-02-23 05:18:48 +0000
commit54b2c420ca9f205c6ac455feab6b2e5aafa8a92a (patch)
tree692691b832d54a289ce75c6ba3fd797cddbf3fa2 /src/kadmin
parentdac1594eaa1cf48755e9490f0712a9feaed6b9ff (diff)
downloadkrb5-54b2c420ca9f205c6ac455feab6b2e5aafa8a92a.zip
krb5-54b2c420ca9f205c6ac455feab6b2e5aafa8a92a.tar.gz
krb5-54b2c420ca9f205c6ac455feab6b2e5aafa8a92a.tar.bz2
* 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12064 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-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 \