* kpasswd.0/changing.exp: Add a sleep to avoid a race with the
authorTom Yu <tlyu@mit.edu>
Wed, 23 Feb 2000 05:18:48 +0000 (05:18 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 23 Feb 2000 05:18:48 +0000 (05:18 +0000)
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

src/kadmin/passwd/unit-test/ChangeLog
src/kadmin/passwd/unit-test/kpasswd.0/changing.exp

index 5f39ff2291f4205a093165d35e3a79e6413a3c63..fd35252c6db5ed303d02ad2e72a7d5c25699368a 100644 (file)
@@ -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
index 27b4e6dd278953b6a76ba0d4735d43c8da96a254..3466b9295c8b60d8ede32cdc3195c98311eee39a 100644 (file)
@@ -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 \