mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
for fuzzing the imapserver and smtpserver use different config files than regular tests
otherwise they cannot be running at the same time, they could overwrite each other's files.
This commit is contained in:
@ -30,7 +30,7 @@ func FuzzServer(f *testing.F) {
|
||||
f.Add("QUIT")
|
||||
|
||||
mox.Context = ctxbg
|
||||
mox.ConfigStaticPath = "../testdata/smtp/mox.conf"
|
||||
mox.ConfigStaticPath = "../testdata/smtpserverfuzz/mox.conf"
|
||||
mox.MustLoadConfig(false)
|
||||
dataDir := mox.ConfigDirPath(mox.Conf.Static.DataDir)
|
||||
os.RemoveAll(dataDir)
|
||||
|
Reference in New Issue
Block a user