testutils: Move DontRecover flag

It was used only in queue tests and so was moved there. This fixes
-tests.debuglog command line flag being present in the maddy executable
as a side effect of testutils package import.
This commit is contained in:
fox.cpp 2019-12-06 00:09:07 +03:00
parent b22a3de94c
commit c4df3af4af
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
3 changed files with 6 additions and 6 deletions

View file

@ -817,5 +817,5 @@ func TestQueueDSN_RcptRewrite(t *testing.T) {
}
func init() {
testutils.DontRecover = true
dontRecover = true
}