test-patchbomb: add test for progress support (1ed2dc9d4368) stable
authorYuya Nishihara <yuya@tcha.org>
Mon, 25 Oct 2010 01:11:52 +0900
branchstable
changeset 12845 685d884fd2b6
parent 12844 a1b49b9a0328
child 12846 4b334f8c941b
test-patchbomb: add test for progress support (1ed2dc9d4368)
tests/test-patchbomb.t
--- a/tests/test-patchbomb.t	Sun Oct 24 15:11:41 2010 +0100
+++ b/tests/test-patchbomb.t	Mon Oct 25 01:11:52 2010 +0900
@@ -145,8 +145,10 @@
   +b
   
 
-  $ hg email -m test.mbox -f quux -t foo -c bar -s test 0:tip
-  This patch series consists of 2 patches.
+  $ 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
+  \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                                                                                \rThis patch series consists of 2 patches.
   
   
   Write the introductory message for the patch series.