test: show more profile lines in test-profile.t
authorPulkit Goyal <pulkit@yandex-team.ru>
Fri, 19 Oct 2018 23:18:29 +0300
changeset 40380 1ce4fe0603a6
parent 40379 41506e3b04ee
child 40381 4613f9274fc0
test: show more profile lines in test-profile.t This shows that we don't output anything after the first line and demonstrate issue6003. Differential Revision: https://phab.mercurial-scm.org/D5171
tests/test-profile.t
--- a/tests/test-profile.t	Fri Oct 19 11:45:51 2018 -0400
+++ b/tests/test-profile.t	Fri Oct 19 23:18:29 2018 +0300
@@ -87,7 +87,7 @@
 Various statprof formatters work
 
   $ hg --profile --config profiling.statformat=byline sleep 2>../out
-  $ head -n 1 ../out
+  $ head -n 3 ../out
     %   cumulative      self          
   $ cat ../out | statprofran