one last var needed quotes

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2021-09-28 10:00:26 -06:00
parent d63ac607a4
commit 4a21475b1e
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C

View File

@ -82,7 +82,7 @@ setup() {
@test "docker run: ports" { @test "docker run: ports" {
dagger -e docker-run-ports up dagger -e docker-run-ports up
CONTAINER=$(docker container ls -q --filter "name=daggerci-test-ports-*") CONTAINER=$(docker container ls -q --filter "name=daggerci-test-ports-*")
until docker inspect --format "{{json .State.Status }}" $CONTAINER | grep -m 1 "running"; do sleep 1 ; done until docker inspect --format "{{json .State.Status }}" "$CONTAINER" | grep -m 1 "running"; do sleep 1 ; done
run curl -f -LI http://localhost:8080 run curl -f -LI http://localhost:8080
assert_output --partial '200 OK' assert_output --partial '200 OK'
docker stop "$CONTAINER" && docker rm "$CONTAINER" docker stop "$CONTAINER" && docker rm "$CONTAINER"