mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
test: Add a set of tests for handling bad/invalid configs
This patch adds a set of tests to validate chasquid's handling of bad and invalid configurations, to make sure we fail as expected.
This commit is contained in:
@@ -153,7 +153,7 @@ func (s *Server) InitDomainInfo(dir string) *domaininfo.DB {
|
||||
func (s *Server) InitQueue(path string, localC, remoteC courier.Courier) {
|
||||
q, err := queue.New(path, s.localDomains, s.aliasesR, localC, remoteC)
|
||||
if err != nil {
|
||||
log.Fatalf("Error initializing queue: %v:", err)
|
||||
log.Fatalf("Error initializing queue: %v", err)
|
||||
}
|
||||
|
||||
err = q.Load()
|
||||
|
||||
Reference in New Issue
Block a user