tests/test-progress.t
changeset 13236 3f299f5d9a29
parent 13154 e11c14f14491
child 14838 5d261fd00446
equal deleted inserted replaced
13235:6bf39d88c857 13236:3f299f5d9a29
   139   loop [=========>                                ] 1/4 8h21m
   139   loop [=========>                                ] 1/4 8h21m
   140   loop [====================>                     ] 2/4 5h34m
   140   loop [====================>                     ] 2/4 5h34m
   141   loop [==============================>           ] 3/4 2h47m
   141   loop [==============================>           ] 3/4 2h47m
   142                                                               \r (esc)
   142                                                               \r (esc)
   143 
   143 
       
   144   $ MOCKTIME=1000000 hg -y loop 4 2>&1 | python $TESTDIR/filtercr.py
       
   145   
       
   146   loop [                                                ] 0/4
       
   147   loop [=========>                                ] 1/4 5w00d
       
   148   loop [====================>                     ] 2/4 3w03d
       
   149   loop [=============================>           ] 3/4 11d14h
       
   150                                                               \r (esc)
       
   151 
       
   152 
       
   153   $ MOCKTIME=14000000 hg -y loop 4 2>&1 | python $TESTDIR/filtercr.py
       
   154   
       
   155   loop [                                                ] 0/4
       
   156   loop [=========>                                ] 1/4 1y18w
       
   157   loop [===================>                     ] 2/4 46w03d
       
   158   loop [=============================>           ] 3/4 23w02d
       
   159                                                               \r (esc)
       
   160 
   144 Time estimates should not fail when there's no end point:
   161 Time estimates should not fail when there's no end point:
   145   $ hg -y loop -- -4 2>&1 | python $TESTDIR/filtercr.py
   162   $ hg -y loop -- -4 2>&1 | python $TESTDIR/filtercr.py
   146   
   163   
   147   loop [ <=>                                              ] 2
   164   loop [ <=>                                              ] 2
   148   loop [  <=>                                             ] 3
   165   loop [  <=>                                             ] 3