-
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.
Adding tests and revising Jenkinsfile to begin with a passing build
- Loading branch information
Jim Van Fleet
committed
Jul 27, 2016
1 parent
b9d405b
commit 71426e7
Showing
3 changed files
with
19 additions
and
24 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
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
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,17 @@ | ||
| #!/usr/bin/env bats | ||
|
|
||
| load ../common | ||
|
|
||
| setup() { | ||
| bin/download.sh | ||
| } | ||
|
|
||
| @test "Downloads a Shibboleth IDP tree" { | ||
| result="$(ls root/conf/idp.properties)" | ||
| [ "$result" = 'root/conf/idp.properties' ] | ||
| } | ||
|
|
||
| @test "Prunes Shibboleth IDP binaries" { | ||
| run ls root/bin | ||
| [ "$status" -eq 1 ] | ||
| } |