summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Mattsson <Bjorn.Mattsson@bth.se>2018-06-28 13:32:59 +0200
committerBjörn Mattsson <Bjorn.Mattsson@bth.se>2018-06-28 13:32:59 +0200
commit369d788dd8930f3a383ae463cc846566fd83cb7f (patch)
tree405ff16fed31f37b4f8583067e7e03f605b2cab8 /Makefile
parent9532baa98db43faaab89c1f4d9a9c46e4bc2998b (diff)
Resolved SWAMID-803
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 279dfa17..157dc05f 100644
--- a/Makefile
+++ b/Makefile
@@ -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/.*/&/' ; \
- 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/.*/&/' ;\
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