From 75d0741b0b2e7d309b4d12daf89fae4a2e85ab8a Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Thu, 4 Jan 2018 11:30:48 -0500 Subject: [PATCH] Update image.bats --- tests/image.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/image.bats b/tests/image.bats index cac9ec7..cf3ac84 100644 --- a/tests/image.bats +++ b/tests/image.bats @@ -14,9 +14,9 @@ load ../common @test "Contains java" { run docker run -i $maintainer/$imagename which java - [ "$status" -eq 0 ] + [ "$status" -ne 0 ] } @test "Has fired autorun onbuild" { docker run -i $maintainer/$imagename find /opt/log/autoexec.build.log -} \ No newline at end of file +}