Mercurial > hg
changeset 47556:640fdb7fd67b
test: make sure we hit the SIGPIPE in test-transaction-rollback-on-sigpipe
With a coming change, we might not hit the sig pipe without issue and extra line
of output. We do this early to make the next change clearer.
Differential Revision: https://phab.mercurial-scm.org/D10946
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 02 Jul 2021 20:53:23 +0200 |
parents | 452795b0b69a |
children | ed81f2be5527 |
files | tests/test-transaction-rollback-on-sigpipe.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-transaction-rollback-on-sigpipe.t Fri Jul 02 20:22:56 2021 +0200 +++ b/tests/test-transaction-rollback-on-sigpipe.t Fri Jul 02 20:53:23 2021 +0200 @@ -47,7 +47,8 @@ $ cat >remote/.hg/hgrc <<EOF > [hooks] - > pretxnchangegroup.break-things=$hook_script + > pretxnchangegroup.00-break-things=$hook_script + > pretxnchangegroup.01-output-things=echo "some remote output to be forward to the closed pipe" > EOF $ hg --cwd ./remote tip -T '{node|short}\n'