Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Nov 22, 2022
1 parent 1f8ad98 commit 20188da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
15 changes: 10 additions & 5 deletions tests/image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,27 @@
load ../common

@test "Shibd binary available" {
docker run -i $maintainer/$imagename find /usr/sbin/shibd
docker run -i ${imagename}_${tag} find /usr/sbin/shibd
docker run -i ${imagename}_${tag}:arm64 find /usr/sbin/shibd
}

@test "Shibboleth root available" {
docker run -i $maintainer/$imagename find /etc/shibboleth
docker run -i ${imagename}_${tag} find /etc/shibboleth
docker run -i ${imagename}_${tag}:arm64 find /etc/shibboleth
}

@test "Sample attribute map available" {
docker run -i $maintainer/$imagename find /etc/shibboleth/attribute-map.xml
docker run -i ${imagename}_${tag} find /etc/shibboleth/attribute-map.xml
docker run -i ${imagename}_${tag}:arm64 find /etc/shibboleth/attribute-map.xml
}

@test "Includes InCommon cert" {
docker run -i $maintainer/$imagename find /etc/shibboleth/inc-md-cert.pem
docker run -i ${imagename}_${tag} find /etc/shibboleth/inc-md-cert.pem
docker run -i ${imagename}_${tag}:arm64 find /etc/shibboleth/inc-md-cert.pem
}

@test "Includes startup script" {
docker run -i $maintainer/$imagename find /usr/local/bin/startup.sh
docker run -i ${imagename}_${tag} find /usr/local/bin/startup.sh
docker run -i ${imagename}_${tag}:arm64 find /usr/local/bin/startup.sh
}

21 changes: 0 additions & 21 deletions tests/running.bats

This file was deleted.

0 comments on commit 20188da

Please sign in to comment.