]> eyrie.org Git - kerberos/krb5-strength.git/commit
Handle errors in heimdal-strength tests better
authorRuss Allbery <eagle@eyrie.org>
Mon, 19 Dec 2016 02:58:34 +0000 (18:58 -0800)
committerRuss Allbery <eagle@eyrie.org>
Mon, 19 Dec 2016 02:58:34 +0000 (18:58 -0800)
commitd9ef752c4e587bd5619d25d99210782f5d5c2caa
tree720c2aeafb860c20e41ad10d08a44d77c6211280
parent16ab832292d68d38664621ab1afd0190c0051a8b
Handle errors in heimdal-strength tests better

In Travis CI, the heimdal-strength test was failing with a broken
pipe.  Apparently the timing was such that the child process would
exit with an error before IPC::Run could try to write the input,
and then IPC::Run would die with a broken pipe.  Work around this
by allowing a flag to be passed to run_heimdal_strength saying whether
to expect an error, and don't send input in that case.
tests/tools/heimdal-strength-t