Add Mac support

This commit is contained in:
Leonid Bugaev
2016-05-13 17:31:39 +05:00
parent 663bd8b95d
commit aac1345d16
5 changed files with 51 additions and 22 deletions
+1 -2
View File
@@ -41,8 +41,7 @@ func TestInputHTTPLargePayload(t *testing.T) {
wg := new(sync.WaitGroup)
quit := make(chan int)
// Generate 1000kb file
dd := exec.Command("dd", "if=/dev/urandom", "of=/tmp/large", "bs=1MB", "count=4")
dd := exec.Command("dd", "if=/dev/urandom", "of=/tmp/large", "bs=1", "count=4000000")
err := dd.Run()
if err != nil {
log.Fatal("dd error:", err)