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
--- 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