test-patchbomb.t: clean up progress tests
authorAugie Fackler <durin42@gmail.com>
Sat, 30 Apr 2011 12:02:09 -0500
changeset 14101 0c5228836fcd
parent 14100 3e9e02a41dfb
child 14102 7f45b1911893
test-patchbomb.t: clean up progress tests
tests/test-patchbomb.t
--- a/tests/test-patchbomb.t	Sun May 01 04:56:24 2011 -0500
+++ b/tests/test-patchbomb.t	Sat Apr 30 12:02:09 2011 -0500
@@ -158,16 +158,30 @@
 
   $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip \
   > --config extensions.progress= --config progress.assume-tty=1 \
-  > --config progress.delay=0 --config progress.refresh=0
+  > --config progress.delay=0 --config progress.refresh=0 \
+  > --config progress.width=60 2>&1 | \
+  > python $TESTDIR/filtercr.py
   This patch series consists of 2 patches.
   
   
   Write the introductory message for the patch series.
   
-  \rwriting [                                                                 ] 0/3\rwriting [                                                                 ] 0/3\r                                                                                \r\r                                                                                \r\rwriting [====================>                                            ] 1/3\rwriting [====================>                                            ] 1/3\r                                                                                \r\r                                                                                \r\rwriting [==========================================>                      ] 2/3\rwriting [==========================================>                      ] 2/3\r                                                                                \r (esc)
+  
+  writing [                                             ] 0/3
+  writing [                                             ] 0/3
+                                                              
+                                                              
+  writing [==============>                              ] 1/3
+  writing [==============>                              ] 1/3
+                                                              
+                                                              
+  writing [=============================>               ] 2/3
+  writing [=============================>               ] 2/3
+                                                              \r (esc)
   Writing [PATCH 0 of 2] test ...
   Writing [PATCH 1 of 2] a ...
   Writing [PATCH 2 of 2] b ...
+  
 
   $ cd ..