From 21b091ab14f2659329686dab9e5eb9ec431baea4 Mon Sep 17 00:00:00 2001 From: Alex Quick Date: Sat, 21 Jan 2017 21:19:15 -0500 Subject: [PATCH] [config] update test-deploy-config to include odd characters --- tests/apps/config/check_deploy | 3 ++- tests/apps/config/post-deploy | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/apps/config/check_deploy b/tests/apps/config/check_deploy index d21cdf62f..46d7828d9 100755 --- a/tests/apps/config/check_deploy +++ b/tests/apps/config/check_deploy @@ -12,4 +12,5 @@ test_url () { base_url="$1" test_url / "config-test" -test_url /hello "Hello world" +test_url /hello "Hello + 'world'" \ No newline at end of file diff --git a/tests/apps/config/post-deploy b/tests/apps/config/post-deploy index 04f5a11d5..61cda9ea4 100755 --- a/tests/apps/config/post-deploy +++ b/tests/apps/config/post-deploy @@ -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"