# HG changeset patch # User Mark Thomas # Date 1539420539 0 # Node ID 58d785679e158dcf460df8cffc32b7be4b36ea83 # Parent 0b46e1aa77609c48e77f73ef987807f4a123d6a5 test-bookmarks-pushpull: use correct tmp dir for no-bm-move.sh test-bookmarks-pushpull.t writes a temporary file in $TESTDIR instead of $TESTTMP. Make it use $TESTTMP instead. Differential Revision: https://phab.mercurial-scm.org/D5057 diff -r 0b46e1aa7760 -r 58d785679e15 tests/test-bookmarks-pushpull.t --- a/tests/test-bookmarks-pushpull.t Sat Oct 13 05:17:28 2018 +0300 +++ b/tests/test-bookmarks-pushpull.t Sat Oct 13 08:48:59 2018 +0000 @@ -1231,13 +1231,13 @@ Forbid bookmark move on the server - $ cat << EOF >> $TESTDIR/no-bm-move.sh + $ cat << EOF >> $TESTTMP/no-bm-move.sh > #!/bin/sh > echo \$HG_NAMESPACE | grep -v bookmarks > EOF $ cat << EOF >> server/.hg/hgrc > [hooks] - > prepushkey.no-bm-move= sh $TESTDIR/no-bm-move.sh + > prepushkey.no-bm-move= sh $TESTTMP/no-bm-move.sh > EOF pushing changeset is okay