tests/test-chg.t
changeset 48277 96aa3a68d3b5
parent 48255 8c34edb1ad10
parent 48275 1ea289e34c70
child 48876 42d2b31cee0b
--- a/tests/test-chg.t	Thu Oct 21 11:21:21 2021 +0200
+++ b/tests/test-chg.t	Thu Oct 21 17:25:41 2021 +0200
@@ -475,7 +475,7 @@
   $ hg init $TESTTMP/profiling
   $ cd $TESTTMP/profiling
   $ filteredchg() {
-  >   CHGDEBUG=1 chg "$@" 2>&1 | egrep 'Sample count|start cmdserver' || true
+  >   CHGDEBUG=1 chg "$@" 2>&1 | sed -rn 's_^No samples recorded.*$_Sample count: 0_; /Sample count/p; /start cmdserver/p'
   > }
   $ newchg() {
   >   chg --kill-chg-daemon