Skip to content

Commit

Permalink
Abstracting away maintainer and image names
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Jul 27, 2016
1 parent 6c2c65f commit a45c38c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/shibboleth-idp.bats
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ setup() {
}

@test "Creates non-root Shib IDP home" {
result="$(docker run -i bigfleet/shibboleth_idp ls /opt/shibboleth/current/bin/)"
result="$(docker run -i $maintainer/$imagename ls /opt/shibboleth/current/bin/)"
[ "$result" != '' ]
}

@test "Retains first-run experience" {
result="$(docker run -i bigfleet/shibboleth_idp ls /tmp/firsttimerunning)"
result="$(docker run -i $maintainer/$imagename ls /tmp/firsttimerunning)"
[ "$result" != '' ]
}

@test "Contains java" {
run docker run -i bigfleet/shibboleth_idp which java
run docker run -i $maintainer/$imagename which java
[ "$status" -eq 0 ]
}

Expand Down

0 comments on commit a45c38c

Please sign in to comment.