Merge pull request #31 from timjnh/cross_platform_compatibility

Cross-platform compatibility for /dev/null
This commit is contained in:
Tomás Senart
2013-10-30 15:49:09 -07:00

3
attack_test.go Normal file → Executable file
View File

@@ -8,6 +8,7 @@ import (
"strings" "strings"
"testing" "testing"
"time" "time"
"os"
) )
func init() { func init() {
@@ -95,6 +96,6 @@ func defaultArguments() (uint64, time.Duration, string, string, string, http.Hea
5 * time.Millisecond, 5 * time.Millisecond,
".targets.txt", ".targets.txt",
"random", "random",
"/dev/null", os.DevNull,
http.Header{} http.Header{}
} }