diff --git a/tests/apps/nodejs-express/check_deploy b/tests/apps/nodejs-express/check_deploy index 3cb2ed65f..d0bbf9c84 100755 --- a/tests/apps/nodejs-express/check_deploy +++ b/tests/apps/nodejs-express/check_deploy @@ -1,2 +1,2 @@ #!/bin/bash -set -e; test "$(curl -s $1)" == "nodejs/express" \ No newline at end of file +set -e; output="$(curl -s $1)"; echo $output; test "$output" == "nodejs/express" \ No newline at end of file diff --git a/tests/apps/php/check_deploy b/tests/apps/php/check_deploy index cd04f836e..c3fdb6bf5 100755 --- a/tests/apps/php/check_deploy +++ b/tests/apps/php/check_deploy @@ -1,2 +1,2 @@ #!/bin/bash -set -e; test "$(curl -s $1)" == "

php

" \ No newline at end of file +set -e; output="$(curl -s $1)"; echo $output; test "$output" == "

php

" \ No newline at end of file diff --git a/tests/apps/python-flask/check_deploy b/tests/apps/python-flask/check_deploy index 90fb12aa5..6aa7dc81b 100755 --- a/tests/apps/python-flask/check_deploy +++ b/tests/apps/python-flask/check_deploy @@ -1,2 +1,2 @@ #!/bin/bash -set -e; test "$(curl -s $1)" == "python/flask" \ No newline at end of file +set -e; output="$(curl -s $1)"; echo $output; test "$output" == "python/flask" \ No newline at end of file diff --git a/tests/test_deploy b/tests/test_deploy index 7068346c0..cd984fde3 100755 --- a/tests/test_deploy +++ b/tests/test_deploy @@ -10,7 +10,7 @@ git config user.email "robot@example.com" git config user.name "Test Robot" git add . git commit -m 'initial commit' -REPO="test-$APP-$RANDOM" +REPO="test-$(basename $APP)-$RANDOM" git remote add target git@$TARGET:$REPO git push target master ./check_deploy "$(ssh dokku@$TARGET url $REPO)" && echo "-----> Deploy success!" \ No newline at end of file