changeset 6096:cf2b582c1764

tests: run echo through sh -c, to make output the same on windows Otherwise it outputs "running precommit hook"\r (note the quote signs).
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 24 Nov 2021 22:23:45 +0300
parents 85a16667f19b
children ff19717f985e
files tests/test-evolve-inmemory.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-evolve-inmemory.t	Thu Nov 18 17:36:18 2021 +0300
+++ b/tests/test-evolve-inmemory.t	Wed Nov 24 22:23:45 2021 +0300
@@ -141,7 +141,7 @@
   1 new orphan changesets
   $ cat >> .hg/hgrc <<EOF
   > [hooks]
-  > precommit = echo "running precommit hook"
+  > precommit = sh -c "echo 'running precommit hook'"
   > EOF
 The hook is not run with in-memory=force
   $ hg co B2