diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-01-29 16:43:25 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-01-29 16:43:25 -0800 |
commit | 4433e6e68d740d99774bfbe8ad775ef6f219c103 (patch) | |
tree | 50c2a1689bb9fa8e7311461d75e33a096af5bbda /test | |
parent | bb3f22f4d6e61c9b0f12b2b54cdc3e38934d541e (diff) |
Fix echo test
Diffstat (limited to 'test')
-rw-r--r-- | test/core/echo/echo_test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/core/echo/echo_test.c b/test/core/echo/echo_test.c index 6449b2414f..550ad78267 100644 --- a/test/core/echo/echo_test.c +++ b/test/core/echo/echo_test.c @@ -99,12 +99,13 @@ int main(int argc, char **argv) { svr = fork(); if (svr == 0) { gpr_asprintf(&args[0], "%s/echo_server", root); - gpr_join_host_port(&args[1], "::", port); - args[2] = 0; + args[1] = "-bind"; + gpr_join_host_port(&args[2], "::", port); + args[3] = 0; execv(args[0], args); gpr_free(args[0]); - gpr_free(args[1]); + gpr_free(args[2]); return 1; } /* wait a little */ |