1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Add some tests

This patch adds some tests that cover the SMTP commands, including STARTTLS
and various correctness checks.

There are also two simple benchmarks, that are not optimized and are more
useful for stress testing and profiling than anything else.
This commit is contained in:
Alberto Bertogli
2015-10-26 02:46:06 +00:00
parent ca9c366087
commit a5510607e8
2 changed files with 358 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ import (
"strings"
"time"
_ "net/http/pprof"
"github.com/golang/glog"
"golang.org/x/net/trace"
)