diff --git a/scripts/generate_test_config.sh b/scripts/generate_test_config.sh index 92f02be1..0521602d 100755 --- a/scripts/generate_test_config.sh +++ b/scripts/generate_test_config.sh @@ -13,6 +13,7 @@ function convert_file_linux() { # then embed in a dummy jws and write to the config folder # $1: file name echo "{\"payload\":\"$(cat $1 | base64 -w 0 | sed 's/+/-/g; s/\//_/g; s/=//g')\",\"signatures\":[{\"header\":{\"kid\":\"\"},\"signature\":\"\"}]}" > ../config/$1 + find ../config -depth -name '*.*' -execdir bash -c 'mv -- "$1" "${1/_/:}"' bash {} \; } function convert_file_osx() { @@ -20,6 +21,7 @@ function convert_file_osx() { # then embed in a dummy jws and write to the config folder # $1: file name echo "{\"payload\":\"$(cat $1 | base64 | sed 's/+/-/g; s/\//_/g; s/=//g')\",\"signatures\":[{\"header\":{\"kid\":\"\"},\"signature\":\"\"}]}" > ../config/$1 + find ../config -depth -name '*.*' -execdir bash -c 'mv -- "$1" "${1/_/:}"' bash {} \; } pwd=`pwd` diff --git a/test/bdd/fixtures/agent-wasm/config-data/stakeholder.one:8088.json b/test/bdd/fixtures/agent-wasm/config-data/stakeholder.one_8088.json similarity index 100% rename from test/bdd/fixtures/agent-wasm/config-data/stakeholder.one:8088.json rename to test/bdd/fixtures/agent-wasm/config-data/stakeholder.one_8088.json