Skip Menu |
 

From: tlyu@mit.edu
Subject: git commit

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)

https://github.com/krb5/krb5/commit/e8b7e7be0a47fb6a014214755c0deb85a499c4e2
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: e8b7e7be0a47fb6a014214755c0deb85a499c4e2
Branch: krb5-1.11
src/tests/t_skew.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)