--- a/tests/test-blackbox.t Thu Feb 07 10:20:57 2019 -0800
+++ b/tests/test-blackbox.t Thu Jan 31 11:55:02 2019 -0800
@@ -354,6 +354,17 @@
warning: cannot write to blackbox.log: $TESTTMP/gone/.hg/blackbox.log: $ENOTDIR$ (windows !)
$ cd ..
+blackbox should disable itself if track is empty
+
+ $ hg --config blackbox.track= init nothing_tracked
+ $ cd nothing_tracked
+ $ cat >> .hg/hgrc << EOF
+ > [blackbox]
+ > track =
+ > EOF
+ $ hg blackbox
+ $ cd $TESTTMP
+
#if chg
when using chg, blackbox.log should get rotated correctly