diff --git a/tests/go/.godir b/tests/apps/go/.godir similarity index 100% rename from tests/go/.godir rename to tests/apps/go/.godir diff --git a/tests/go/Procfile b/tests/apps/go/Procfile similarity index 100% rename from tests/go/Procfile rename to tests/apps/go/Procfile diff --git a/tests/apps/go/check_deploy b/tests/apps/go/check_deploy new file mode 100755 index 000000000..b75487a8e --- /dev/null +++ b/tests/apps/go/check_deploy @@ -0,0 +1,2 @@ +#!/bin/bash +set -e; test "$(curl -s $1)" == "go" \ No newline at end of file diff --git a/tests/go/web.go b/tests/apps/go/web.go similarity index 88% rename from tests/go/web.go rename to tests/apps/go/web.go index a51f5db43..3bb0cc5c9 100644 --- a/tests/go/web.go +++ b/tests/apps/go/web.go @@ -16,5 +16,5 @@ func main() { } func hello(res http.ResponseWriter, req *http.Request) { - fmt.Fprintln(res, "hello, world") + fmt.Fprintln(res, "go") } diff --git a/tests/apps/nodejs-express/check_deploy b/tests/apps/nodejs-express/check_deploy index 3bb12d4c4..3cb2ed65f 100755 --- a/tests/apps/nodejs-express/check_deploy +++ b/tests/apps/nodejs-express/check_deploy @@ -1,3 +1,2 @@ #!/bin/bash -set -e -test "$(curl $1)" == "nodejs/express2" \ No newline at end of file +set -e; test "$(curl -s $1)" == "nodejs/express" \ No newline at end of file diff --git a/tests/apps/php/check_deploy b/tests/apps/php/check_deploy new file mode 100755 index 000000000..cd04f836e --- /dev/null +++ b/tests/apps/php/check_deploy @@ -0,0 +1,2 @@ +#!/bin/bash +set -e; test "$(curl -s $1)" == "