diff options
author | Fredrik Domeij <fredrik.domeij@umu.se> | 2017-07-17 08:58:36 +0200 |
---|---|---|
committer | Fredrik Domeij <fredrik.domeij@umu.se> | 2017-07-17 08:58:36 +0200 |
commit | 567707b5db5e567c4fd3682b8b20081c65a7e2b6 (patch) | |
tree | 1366fccf11314ca43bacc0715370fe102725e1fd /Makefile | |
parent | 69caff1b0354ac816669acc7d5325a5dd4e8e0ad (diff) |
IDPSSODescripts removed from SP:s, they should not be there and confuses by showing up in discovery service
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -168,6 +168,10 @@ testMDUI: @echo "Check for IdP:s with Logos over http" @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n '/IDPSSODescriptor/,/\/IDPSSODescriptor/p' | grep -q 'Logo .*http://' ; then echo " $$x" | sed 's/.*/[1;31m&[0m/' ; fi ; done +testIdPinSP: + @echo "Check that SP:s does not define IDPSSODescriptor" + @for spfile in `cat swamid-sp-2.0.mxml swamid-externals-sp-2.0.xml | grep -v "\.mxml$$" | grep "xi:include" | awk -F\" '{print $$2}'` ; do grep -q IDPSSODescriptor $$spfile && echo " $$spfile" | sed 's/.*/[1;31m&[0m/' ; done | grep . && exit 1 || exit 0 + testMDUIreach: @echo "Check that MDUI URLs are reachable" @cat swamid-idp-2.0.mxml swamid-sp-2.0.mxml swamid-externals-sp-2.0.xml | grep -v "\.mxml$$" | grep "xi:include" | awk -F\" '{print $$2}' | \ @@ -199,7 +203,7 @@ testBadStrings: @echo "Check for bad strings in metadata" @for x in `find $(SRCDIRS) -name \*.xml`; do grep -E 'ServiceName xml:lang="[^"]*"/>' $$x | sed 's/^/ /' ; done | grep . && exit 1 || exit 0 -committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings +committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP deeptest: committest testMDUIreach |