[PATCH] test-patchbomb: add test for progress support (1ed2dc9d4368)

Yuya Nishihara yuya at tcha.org
Sun Oct 24 11:42:35 CDT 2010


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1287936712 -32400
# Branch stable
# Node ID f493a4aab547df133c470aece337b140c71bb5c0
# Parent  5082e2f3f8e02d73ca05b6ab989c49d5be73f50f
test-patchbomb: add test for progress support (1ed2dc9d4368)

diff --git a/tests/test-patchbomb.t b/tests/test-patchbomb.t
--- a/tests/test-patchbomb.t
+++ b/tests/test-patchbomb.t
@@ -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.


More information about the Mercurial-devel mailing list