test-bookmarks-pushpull: stabilize for Windows stable
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 31 Jan 2018 23:01:44 -0500
branchstable
changeset 35815 b5df7fcf5d80
parent 35814 92b7039613d0
child 35816 f6ca1e11d8b4
test-bookmarks-pushpull: stabilize for Windows
tests/test-bookmarks-pushpull.t
--- a/tests/test-bookmarks-pushpull.t	Thu Feb 01 16:46:12 2018 +0800
+++ b/tests/test-bookmarks-pushpull.t	Wed Jan 31 23:01:44 2018 -0500
@@ -1202,9 +1202,13 @@
 
 Forbid bookmark move on the server
 
+  $ cat << EOF >> $TESTDIR/no-bm-move.sh
+  > #!/bin/sh
+  > echo \$HG_NAMESPACE | grep -v bookmarks
+  > EOF
   $ cat << EOF >> server/.hg/hgrc
   > [hooks]
-  > prepushkey.no-bm-move= echo \$HG_NAMESPACE | grep -v bookmarks
+  > prepushkey.no-bm-move= sh $TESTDIR/no-bm-move.sh
   > EOF
 
 pushing changeset is okay