[config] update test-deploy-config to include odd characters

This commit is contained in:
Alex Quick
2017-01-21 21:19:15 -05:00
parent 416b499670
commit 21b091ab14
2 changed files with 6 additions and 4 deletions

View File

@@ -12,4 +12,5 @@ test_url () {
base_url="$1"
test_url / "config-test"
test_url /hello "Hello world"
test_url /hello "Hello
'world'"

View File

@@ -4,6 +4,7 @@ set -ex;
REMOTE=$1
REPO=$2
# setting config variables with spaces is broken at the moment. ref: 820
# ssh "$REMOTE" config:set "$REPO" CONFTEST=config-test HELLO=\"Hello world\"
dokku config:set "$REPO" CONFTEST=config-test HELLO="Hello world"
GREETING=$(printf "Hello
'world'" | base64)
ssh "$REMOTE" config:set "$REPO" CONFTEST=config-test
ssh "$REMOTE" config:set --encoded "$REPO" HELLO="$GREETING"