From 15f4e94b4fd32d854b2e1b0920c1f27a76fc0c6d Mon Sep 17 00:00:00 2001 From: Milan Vit Date: Fri, 19 Mar 2021 16:00:36 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Add=20(hopefully)=20failing=20test?= =?UTF-8?q?=20for=20image=20labeling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/git_4.bats | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/unit/git_4.bats b/tests/unit/git_4.bats index f000042e2..f62e6a18f 100644 --- a/tests/unit/git_4.bats +++ b/tests/unit/git_4.bats @@ -116,3 +116,11 @@ EOF echo "status: $status" assert_failure } + +@test "(git) git:from-image labels correctly" { + run /bin/bash -c "dokku git:from-image $TEST_APP gliderlabs/logspout:v3.2.14" + run /bin/bash -c "docker image inspect dokku/$TEST_APP:latest | grep 'alternate-tags' | grep 'gliderlabs/logspout:v3.2.14'" + echo "output: $output" + echo "status: $status" + assert_success +}