make buggy docker-options test consistent

This commit is contained in:
Michael Hobbs
2016-05-11 17:53:12 -07:00
parent 7aa48d3426
commit 2356dbd594

View File

@@ -150,10 +150,10 @@ teardown() {
deploy_app
CID=$(< $DOKKU_ROOT/$TEST_APP/CONTAINER.web.1)
run /bin/bash -c "docker inspect -f '{{ .Config.Volumes }}' $CID"
run /bin/bash -c "docker inspect -f '{{ .Config.Volumes }}' $CID | sed -e 's:map::g' | tr -d '[]' | tr ' ' $'\n' | sort | xargs"
echo "output: "$output
echo "status: "$status
assert_output "map[/tmp:{} /var/tmp:{}]"
assert_output "/tmp:{} /var/tmp:{}"
}
@test "(docker-options) docker-options:add (all phases over SSH)" {