Skip to content
Snippets Groups Projects
Commit 31dfe702 authored by Kyle Lippincott's avatar Kyle Lippincott
Browse files

blackbox: test that unsetting track disables blackbox logging

Differential Revision: https://phab.mercurial-scm.org/D5783
parent 3d9d5e61
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment