[PATCH 2 of 3] test-progress: test disabling progress bars

Martin Geisler mrtn.gslr at gmail.com
Sat May 12 09:39:47 CDT 2012


# HG changeset patch
# User Martin Geisler <martin at geisler.net>
# Date 1336829972 -7200
# Node ID 626948279d984204b8289531ffe5c71ec37d5347
# Parent  bd17c94b246bb7b4b8cfec24e491310bd54e3f8b
test-progress: test disabling progress bars

This didn't work before from the command line.

diff --git a/tests/test-progress.t b/tests/test-progress.t
--- a/tests/test-progress.t
+++ b/tests/test-progress.t
@@ -139,6 +139,11 @@
   loop [ <=>                                            ] 5/4
                                                               \r (esc)
 
+test disabling progress
+
+  $ hg -y loop --total 4 6 --config progress.disabled=Yes 2>&1 | "$TESTDIR/filtercr.py"
+  
+
 test immediate progress completion
 
   $ hg -y loop 0 2>&1 | "$TESTDIR/filtercr.py"


More information about the Mercurial-devel mailing list