From a45c38c0b33541a022fa5aefb4da7ffa43e7409c Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Wed, 27 Jul 2016 16:41:20 -0400 Subject: [PATCH] Abstracting away maintainer and image names --- tests/shibboleth-idp.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/shibboleth-idp.bats b/tests/shibboleth-idp.bats index 1190e9d..1d2820d 100644 --- a/tests/shibboleth-idp.bats +++ b/tests/shibboleth-idp.bats @@ -7,17 +7,17 @@ setup() { } @test "Creates non-root Shib IDP home" { - result="$(docker run -i bigfleet/shibboleth_idp ls /opt/shibboleth/current/bin/)" + result="$(docker run -i $maintainer/$imagename ls /opt/shibboleth/current/bin/)" [ "$result" != '' ] } @test "Retains first-run experience" { - result="$(docker run -i bigfleet/shibboleth_idp ls /tmp/firsttimerunning)" + result="$(docker run -i $maintainer/$imagename ls /tmp/firsttimerunning)" [ "$result" != '' ] } @test "Contains java" { - run docker run -i bigfleet/shibboleth_idp which java + run docker run -i $maintainer/$imagename which java [ "$status" -eq 0 ] }