diff options
author | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2018-06-28 13:32:59 +0200 |
---|---|---|
committer | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2018-06-28 13:32:59 +0200 |
commit | 369d788dd8930f3a383ae463cc846566fd83cb7f (patch) | |
tree | 405ff16fed31f37b4f8583067e7e03f605b2cab8 /Makefile | |
parent | 9532baa98db43faaab89c1f4d9a9c46e4bc2998b (diff) |
Resolved SWAMID-803
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -226,7 +226,7 @@ testRoleDescriptor: @for x in `find $(SRCDIRS) -name \*.xml`; do \ grep -EH 'RoleDescriptor.*xsi:type="fed:(ApplicationServiceType|SecurityTokenServiceType)"' $$x | \ sed -e 's/^/ /' -e 's/xmlns.*xsi:type="fed:/xsi:type="fed:/' -e 's/ protocol.*>/>/' -e 's/.*/[1;31m&[0m/' ; \ - done | grep . && echo "Please remove" || exit 0 + done | grep . && exit 1 || exit 0 testAttributeInIdP: @echo "Check for Attribute inside IDPSSODescriptor" @@ -234,7 +234,7 @@ testAttributeInIdP: if cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/IDPSSODescriptor" - 2>/dev/null | grep -q " <Attribute Name" ; then \ echo " $$x" | sed 's/.*/[1;31m&[0m/' ;\ fi;\ - done | grep . && echo "Please remove this Attributes" || exit 0 + done | grep . && exit 1 || exit 0 test: syntaxtest testMDUI testOrgData testEntCat testSimpleSign testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP |