From 11e78d243c63292fceb8884acfc9c357722d9aee Mon Sep 17 00:00:00 2001 From: Tim Jones Date: Wed, 30 Oct 2013 14:39:02 -0400 Subject: [PATCH] Improving cross-platform compatibility a bit --- attack_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 attack_test.go diff --git a/attack_test.go b/attack_test.go old mode 100644 new mode 100755 index 16e69c0..4e12c1f --- a/attack_test.go +++ b/attack_test.go @@ -8,6 +8,7 @@ import ( "strings" "testing" "time" + "os" ) func init() { @@ -95,6 +96,6 @@ func defaultArguments() (uint64, time.Duration, string, string, string, http.Hea 5 * time.Millisecond, ".targets.txt", "random", - "/dev/null", + os.DevNull, http.Header{} }