]> 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>
Tue, 10 Feb 2015 03:14:38 +0000 (22:14 -0500)
commitc6598664ec1b173d54141d8a227d4affbaab174f
tree19b2775e0d0c9ed67ec193ba2a5693582034373b
parente4c312e505b46b35ab35ce74a8eec153641f95ac
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: 8135 (new)
version_fixed: 1.12.3
status: resolved
src/tests/t_skew.py