]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix input race condition in t_skew.py
authorGreg Hudson <ghudson@mit.edu>
Wed, 5 Nov 2014 19:12:35 +0000 (14:12 -0500)
committerTom Yu <tlyu@mit.edu>
Sat, 14 Feb 2015 21:10:08 +0000 (16:10 -0500)
commite8b7e7be0a47fb6a014214755c0deb85a499c4e2
tree42fa91f17300981f9ffcabaeef0569dfb6dc230b
parente4800ab5b69b09efcf9916b7130d1edabb2e6e01
Fix input race condition in t_skew.py

In two of the kinit tests run by t_skew.py, we expect kinit to exit
before reading the password.  If we supply a password input for those
commands, we can fail with a broken pipe exception if the master
process tries to write the password after the slave process exits.

Also correctly check the output of the last kinit invocation.

(cherry picked from commit 2457bf66c466321dd36cd3c76bc36bb589d31587)

ticket: 8147 (new)
version_fixed: 1.11.6
status: resolved
src/tests/t_skew.py