From 8faa9951e932b4f2ea7392c0ef5e50a1d420dc63 Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Wed, 3 Aug 2016 14:46:24 -0400 Subject: [PATCH] Changing mechanism for JAVA_HOME --- tests/shibboleth-idp.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" != "" ] }