summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Mattsson <Bjorn.Mattsson@bth.se>2018-06-28 09:09:06 +0200
committerBjörn Mattsson <Bjorn.Mattsson@bth.se>2018-06-28 09:09:06 +0200
commit9532baa98db43faaab89c1f4d9a9c46e4bc2998b (patch)
treebe726f45159e2b867d82f5d1ffe8a4b5996ac295 /Makefile
parent1e8ba8da973858747b356cbc144b717342289ae2 (diff)
Removed ws-* junk from xml-files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e52d005a..279dfa17 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"
+ done | grep . && echo "Please remove" || exit 0
testAttributeInIdP:
@echo "Check for Attribute inside IDPSSODescriptor"
@@ -234,11 +234,9 @@ 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"
+ done | grep . && echo "Please remove this Attributes" || exit 0
-test: syntaxtest testMDUI testOrgData testEntCat testSimpleSign testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP
-
-testadfs: testRoleDescriptor testAttributeInIdP
+test: syntaxtest testMDUI testOrgData testEntCat testSimpleSign testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP
deeptest: test testMDUIreach