From 4a21475b1e1e8ed3933e2250ce22a6a0a7b9bf82 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 28 Sep 2021 10:00:26 -0600 Subject: [PATCH] one last var needed quotes Signed-off-by: Richard Jones --- stdlib/universe.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/universe.bats b/stdlib/universe.bats index 35ab76ea..0a19361e 100644 --- a/stdlib/universe.bats +++ b/stdlib/universe.bats @@ -82,7 +82,7 @@ setup() { @test "docker run: ports" { dagger -e docker-run-ports up 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 assert_output --partial '200 OK' docker stop "$CONTAINER" && docker rm "$CONTAINER"