tests/test-bookmarks-pushpull.t
changeset 24361 8de8cd34f2e3
parent 24355 ca4b89683078
child 24400 03c84c966ef5
--- a/tests/test-bookmarks-pushpull.t	Tue Mar 17 20:59:23 2015 -0400
+++ b/tests/test-bookmarks-pushpull.t	Tue Mar 17 21:47:47 2015 -0400
@@ -167,12 +167,7 @@
 
 (test that too many divergence of bookmark)
 
-  $ cat > $TESTTMP/seq.py <<EOF
-  > import sys
-  > for i in xrange(*[int(a) for a in sys.argv[1:]]):
-  >     print i
-  > EOF
-  $ python $TESTTMP/seq.py 1 100 | while read i; do hg bookmarks -r 000000000000 "X@${i}"; done
+  $ python $TESTDIR/seq.py 1 100 | while read i; do hg bookmarks -r 000000000000 "X@${i}"; done
   $ hg pull ../a
   pulling from ../a
   searching for changes
@@ -200,7 +195,7 @@
      @1                        2:0d2164f0ce0d
      @foo                      2:0d2164f0ce0d
 
-  $ python $TESTTMP/seq.py 1 100 | while read i; do hg bookmarks -d "X@${i}"; done
+  $ python $TESTDIR/seq.py 1 100 | while read i; do hg bookmarks -d "X@${i}"; done
   $ hg bookmarks -d "@1"
 
   $ hg push -f ../a