summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a2a11a23..69349e6f 100644
--- a/Makefile
+++ b/Makefile
@@ -281,10 +281,18 @@ testRegistrationAuthority:
fi;\
done | grep . && exit 1 || exit 0
+checkInvalidChars:
+ @echo "Check for invalid characters"
+ @for x in `find $(SRCDIRS) -name \*.xml`; do \
+ if grep -q "
" $$x ; then \
+ echo " $$x" | sed 's/.*/&/' ;\
+ fi;\
+ done | grep . && exit 1 || exit 0
+
#test: syntaxtest testMDUI testOrgData testEntCat testSimpleSign testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP testValidContact testRegistrationAuthority
-test: syntaxtest testMDUI testEntCat testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP testValidContact testRegistrationAuthority
+test: syntaxtest testMDUI testEntCat testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP testValidContact testRegistrationAuthority checkInvalidChars
-test2: $(SWAMIDXML) schematest testEntCat testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP testValidContact testRegistrationAuthority
+test2: $(SWAMIDXML) schematest testEntCat testALlevel testEduGAINchecks testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings testIdPinSP testRoleDescriptor testAttributeInIdP testValidContact testRegistrationAuthority checkInvalidChars
#test2: $(SWAMIDXML)
.time/%.time: swamid-2.0/%.xml