changeset 40231:58d785679e15

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
author Mark Thomas <mbthomas@fb.com>
date Sat, 13 Oct 2018 08:48:59 +0000
parents 0b46e1aa7760
children d99a588d8515
files tests/test-bookmarks-pushpull.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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