changeset 47615:a8d1adeeba87

test-sigpipe: run the hook using `sh` This make the hook properly run on Windows. Differential Revision: https://phab.mercurial-scm.org/D11084
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 12 Jul 2021 00:14:11 +0200
parents 9aad229a773a
children df6148ca7120
files tests/test-transaction-rollback-on-sigpipe.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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