Skip to content

Commit

Permalink
Update image.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Jan 4, 2018
1 parent 6340242 commit 75d0741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 75d0741

Please sign in to comment.