tests/test-progress.t
changeset 46074 31ecf715efe2
parent 45025 24b1a8eb73aa
child 48876 42d2b31cee0b
equal deleted inserted replaced
46073:b2a743c3abbb 46074:31ecf715efe2
   201   loop [=======================================>        ] 5/6\r (no-eol) (esc)
   201   loop [=======================================>        ] 5/6\r (no-eol) (esc)
   202                                                               \r (no-eol) (esc)
   202                                                               \r (no-eol) (esc)
   203 
   203 
   204 test interaction with ui.timestamp-output
   204 test interaction with ui.timestamp-output
   205 
   205 
       
   206 XXX: The timestamp on Windows with py2 hg is in 1970, and py3 hg is now.  But
       
   207 the py2/py3 checks here test the test runner, not the binary.  The Windows lines
       
   208 can be dropped when switching to py3-only.
       
   209 
   206   $ hg loop --warn --config ui.timestamp-output=true 6
   210   $ hg loop --warn --config ui.timestamp-output=true 6
   207   \r (no-eol) (esc)
   211   \r (no-eol) (esc)
   208   loop [                                                ] 0/6\r (no-eol) (esc)
   212   loop [                                                ] 0/6\r (no-eol) (esc)
   209                                                               \r (no-eol) (esc)
   213                                                               \r (no-eol) (esc)
   210   \[20[2-9][0-9]-[01][0-9]-[0-3][0-9]T[0-5][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9]\] reached step 0 (re)
   214   [*T*] reached step 0 (glob) (windows !)
       
   215   \[20[2-9][0-9]-[01][0-9]-[0-3][0-9]T[0-5][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9]\] reached step 0 (re) (no-windows !)
   211   \r (no-eol) (esc)
   216   \r (no-eol) (esc)
   212   loop [=======>                                        ] 1/6\r (no-eol) (esc)
   217   loop [=======>                                        ] 1/6\r (no-eol) (esc)
   213   loop [===============>                                ] 2/6\r (no-eol) (esc)
   218   loop [===============>                                ] 2/6\r (no-eol) (esc)
   214   loop [=======================>                        ] 3/6\r (no-eol) (esc)
   219   loop [=======================>                        ] 3/6\r (no-eol) (esc)
   215                                                               \r (no-eol) (esc)
   220                                                               \r (no-eol) (esc)
   216   \[20[2-9][0-9]-[01][0-9]-[0-3][0-9]T[0-5][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9]\] reached step 3 (re)
   221   [*T*] reached step 3 (glob) (windows !)
       
   222   \[20[2-9][0-9]-[01][0-9]-[0-3][0-9]T[0-5][0-9]:[0-5][0-9]:[0-5][0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9]\] reached step 3 (re) (no-windows !)
   217   \r (no-eol) (esc)
   223   \r (no-eol) (esc)
   218   loop [===============================>                ] 4/6\r (no-eol) (esc)
   224   loop [===============================>                ] 4/6\r (no-eol) (esc)
   219   loop [=======================================>        ] 5/6\r (no-eol) (esc)
   225   loop [=======================================>        ] 5/6\r (no-eol) (esc)
   220                                                               \r (no-eol) (esc)
   226                                                               \r (no-eol) (esc)
   221 
   227