diff options
author | Fredrik Domeij <fredrik.domeij@umu.se> | 2017-02-15 18:38:31 +0100 |
---|---|---|
committer | Fredrik Domeij <fredrik.domeij@umu.se> | 2017-02-15 18:38:31 +0100 |
commit | 036d2dbb30960840418ecdde745e00e42d52a420 (patch) | |
tree | 7b2acb9113ad4e36ac9e71087815bb08fe9019d6 /Makefile | |
parent | 6e226ef4842a938c5ca426a3a2d711f75265cce5 (diff) |
check for bad strings in metadata (for example empty ServiceName
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -191,7 +191,11 @@ testALlevel: @echo "Check for IdP:s with AL2 without AL1" @for x in `find $(SRCDIRS) -name \*.xml`; do if grep -q http://www.swamid.se/policy/assurance/al2 $$x && ! grep -q http://www.swamid.se/policy/assurance/al1 $$x ; then echo " $$x" | sed 's/.*/[1;31m&[0m/' ; fi ; done -committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo testMetadataUsage +testBadStrings: + @echo "Check for bad strings in metadata" + @for x in `find $(SRCDIRS) -name \*.xml`; do grep -E 'ServiceName xml:lang="[^"]*"/>' $$x | sed 's/^/ /' ; done | grep . && exit 1 || exit 0 + +committest: test testMDUI testOrgData testEntCat testSimpleSign testALlevel testRefedsRnS testGeantCoCo testMetadataUsage testBadStrings deeptest: committest testMDUIreach |