tests/test-walk.t
changeset 37317 14da486e820d
parent 36321 217b08b1de28
child 38274 7c3a59e2971b
equal deleted inserted replaced
37316:836867586b83 37317:14da486e820d
   517 
   517 
   518 Test split patterns on overflow
   518 Test split patterns on overflow
   519 
   519 
   520   $ cd t
   520   $ cd t
   521   $ echo fennel > overflow.list
   521   $ echo fennel > overflow.list
   522   $ $PYTHON -c "for i in range(20000 / 100): print 'x' * 100" >> overflow.list
   522   $ cat >> printnum.py <<EOF
       
   523   > from __future__ import print_function
       
   524   > for i in range(20000 // 100):
       
   525   >   print('x' * 100)
       
   526   > EOF
       
   527   $ $PYTHON printnum.py >> overflow.list
   523   $ echo fenugreek >> overflow.list
   528   $ echo fenugreek >> overflow.list
   524   $ hg debugwalk 'listfile:overflow.list' 2>&1 | egrep -v '(^matcher: |^xxx)'
   529   $ hg debugwalk 'listfile:overflow.list' 2>&1 | egrep -v '(^matcher: |^xxx)'
   525   f  fennel     fennel     exact
   530   f  fennel     fennel     exact
   526   f  fenugreek  fenugreek  exact
   531   f  fenugreek  fenugreek  exact
   527   $ cd ..
   532   $ cd ..