diff options
author | Björn Mattsson <bjorn@sunet.se> | 2022-08-31 09:42:20 +0200 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2022-08-31 09:42:20 +0200 |
commit | 88d7ff8f9eb767b7a3b73db7769d4c5c3cf3933e (patch) | |
tree | eff8a4ec7a35c5701f6320e53e467924a64ee535 | |
parent | 6436d9c5562274d127a7946a928421c3388db286 (diff) |
Added check for bad chars
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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/.*/[1;31m&[0m/' ;\ + 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 |