diff --git a/tests/shibboleth-idp.bats b/tests/shibboleth-idp.bats index a6d1478..3528709 100644 --- a/tests/shibboleth-idp.bats +++ b/tests/shibboleth-idp.bats @@ -18,7 +18,7 @@ load ../common } @test "exports JAVA_HOME" { - result="$(docker run -i $maintainer/$imagename echo $JAVA_HOME)" + result="$(docker run -i $maintainer/$imagename env | grep JAVA_HOME)" [ "$result" != "" ] }