-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jim Van Fleet
committed
Aug 2, 2016
1 parent
07ffe6e
commit 3b59a8b
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| #!/usr/bin/env bats | ||
|
|
||
| load ../common | ||
|
|
||
| setup() { | ||
| ./bin/rebuild.sh | ||
| } | ||
|
|
||
| @test "Creates non-root Shib IDP home" { | ||
| result="$(docker run -i $maintainer/$imagename ls /opt/shibboleth/current/bin/)" | ||
| [ "$result" != '' ] | ||
| } | ||
|
|
||
| @test "Retains first-run experience" { | ||
| result="$(docker run -i $maintainer/$imagename ls /tmp/firsttimerunning)" | ||
| [ "$result" != '' ] | ||
| } | ||
|
|
||
| @test "Contains java" { | ||
| run docker run -i $maintainer/$imagename which java | ||
| [ "$status" -eq 0 ] | ||
| } |