summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2020-02-27 13:49:34 +0100
committerFredrik Domeij <fredrik.domeij@umu.se>2020-02-27 13:49:34 +0100
commitc5992609cd4df4ab38cc0500e55b7c67ca173771 (patch)
tree069cf6a679405b986c30ce2b91d5c3add25f74e4 /Makefile
parent5d6ace1d99747a98e7073e7a9f56c27996a648e9 (diff)
test5.release-check.swamid.se added, with registrationAuthority www.swamid.se/loop
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c80f2ac5..ffa99627 100644
--- a/Makefile
+++ b/Makefile
@@ -255,7 +255,7 @@ testAttributeInIdP:
testRegistrationAuthority:
@echo "Check for registrationAuthority="http://www.swamid.se/" in EntityDescriptor/Extensions"
@for x in `find $(SRCDIRS) -name \*.xml`; do \
- if ! cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/Extensions" - 2>/dev/null | grep -q 'registrationAuthority="http://www.swamid.se/"' ; then \
+ if ! cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/Extensions" - 2>/dev/null | grep -qE 'registrationAuthority="http://www.swamid.se/"|registrationAuthority="http://www.swamid.se/loop"' ; then \
echo " $$x" | sed 's/.*/&/' ;\
fi;\
done | grep . && exit 1 || exit 0