Mercurial > hg
diff tests/test-bookmarks-pushpull.t @ 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 | 5abc47d4ca6b |
children | c236a491ab7b |
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