From 54b2c420ca9f205c6ac455feab6b2e5aafa8a92a Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 23 Feb 2000 05:18:48 +0000 Subject: [PATCH] * 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 --- src/kadmin/passwd/unit-test/ChangeLog | 6 ++++++ src/kadmin/passwd/unit-test/kpasswd.0/changing.exp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/src/kadmin/passwd/unit-test/ChangeLog b/src/kadmin/passwd/unit-test/ChangeLog index 5f39ff229..fd35252c6 100644 --- a/src/kadmin/passwd/unit-test/ChangeLog +++ b/src/kadmin/passwd/unit-test/ChangeLog @@ -1,3 +1,9 @@ +2000-02-23 Tom Yu + + * 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 * 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 27b4e6dd2..3466b9295 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 \ -- 2.26.2