test-sigpipe: run the hook using `sh`
This make the hook properly run on Windows.
Differential Revision: https://phab.mercurial-scm.org/D11084
--- a/tests/test-transaction-rollback-on-sigpipe.t Thu Jun 10 17:58:03 2021 +0200
+++ b/tests/test-transaction-rollback-on-sigpipe.t Mon Jul 12 00:14:11 2021 +0200
@@ -24,7 +24,7 @@
$ cat >remote/.hg/hgrc <<EOF
> [hooks]
- > pretxnchangegroup.00-break-things="$RUNTESTDIR/testlib/wait-on-file" 10 "$SYNCFILE2" "$SYNCFILE1"
+ > pretxnchangegroup.00-break-things=sh "$RUNTESTDIR/testlib/wait-on-file" 10 "$SYNCFILE2" "$SYNCFILE1"
> pretxnchangegroup.01-output-things=echo "some remote output to be forward to the closed pipe"
> EOF