tests/test-chg.t
changeset 48876 42d2b31cee0b
parent 48277 96aa3a68d3b5
child 49422 3681a47611b8
equal deleted inserted replaced
48875:6000f5b25c9b 48876:42d2b31cee0b
   130   >     ui.write(b'going to crash\n')
   130   >     ui.write(b'going to crash\n')
   131   >     raise Exception('.')
   131   >     raise Exception('.')
   132   > EOF
   132   > EOF
   133 
   133 
   134   $ cat > $TESTTMP/fakepager.py <<EOF
   134   $ cat > $TESTTMP/fakepager.py <<EOF
   135   > from __future__ import absolute_import
       
   136   > import sys
   135   > import sys
   137   > import time
   136   > import time
   138   > for line in iter(sys.stdin.readline, ''):
   137   > for line in iter(sys.stdin.readline, ''):
   139   >     if 'crash' in line: # only interested in lines containing 'crash'
   138   >     if 'crash' in line: # only interested in lines containing 'crash'
   140   >         # if chg exits when pager is sleeping (incorrectly), the output
   139   >         # if chg exits when pager is sleeping (incorrectly), the output