changeset 33796:4f8c241b2bfa

test-pushvars: invoke shell script hook via `sh` for Windows Invoking *.sh on Windows leads to the "what program should open this?" prompt, which stalls the test and led to the recent series of exceptions on the Windows test machine as the runner times out.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 14 Aug 2017 22:26:48 -0400
parents cf300c1ad7bf
children 4abf34f47526
files tests/test-pushvars.t
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-pushvars.t	Mon Aug 14 22:20:53 2017 -0400
+++ b/tests/test-pushvars.t	Mon Aug 14 22:26:48 2017 -0400
@@ -8,10 +8,9 @@
   > env | egrep "^HG_USERVAR_(DEBUG|BYPASS_REVIEW)" | sort
   > exit 0
   > EOF
-  $ chmod +x $TESTTMP/pretxnchangegroup.sh
   $ cat >> $HGRCPATH << EOF
   > [hooks]
-  > pretxnchangegroup = $TESTTMP/pretxnchangegroup.sh
+  > pretxnchangegroup = sh $TESTTMP/pretxnchangegroup.sh
   > [experimental]
   > bundle2-exp = true
   > EOF